Re: [Moses-support] error during testing

2013-12-19 Thread amir haghighi
 Dear Hieu

I got the latest code but the problem is not solved yet. It still gives the
segmentation fault error ~x(.
Is there any other way to solve this problem except downgrading gcc?

Regards
Amir





On Wed, Dec 18, 2013 at 8:22 PM, Hieu Hoang  wrote:

> ah, that's good. However, if you get the latest Moses code by doing
>git pull
> you shouldn't get the problem. It was fixed on the 15th November
>
> https://github.com/moses-smt/mosesdecoder/commit/17887a27969e83f4100bd0f4af98986e33999fbe
>
>
>
>
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] How to convert new moses.ini format of to old format

2013-12-19 Thread Rajen Chatterjee
I am getting this error during decoding using the new moses:

Start loading text SCFG phrase table. Moses  format : [34.000] seconds
Reading
/home/rajen/Public/SMT/experiments/acl-14-TAG/results/pb-cross-valid/en-kK1/moses_data/model/phrase-table.gz
5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
***Check nextPos != string::npos failed in moses/Phrase.cpp:214


So I thought let me try decoding using old mosesdecoder


On Thu, Dec 19, 2013 at 5:31 PM, Hieu Hoang  wrote:

> There's no script to do that.
>
> Is there a reason you need to use the old decoder?
>
>
> On 19 December 2013 16:40, Rajen Chatterjee 
> wrote:
>
>> Hello,
>>There is a script "scripts/training/convert-moses-ini-to-v2.perl"
>> which converts an old format of moses.ini to new format, but I want vice
>> versa i.e. from new format to old format. How can I achieve this?
>>
>>
>> --
>> -Regards,
>>  Rajen Chatterjee.
>>
>> ___
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>


-- 
-Regards,
 Rajen Chatterjee.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] error during compiling moses

2013-12-19 Thread Hieu Hoang
for future reference, there's a list of packages to install, for each Linux
distribution here:
   http://www.statmt.org/moses/?n=Development.GetStarted


On 19 December 2013 21:35, amir haghighi  wrote:

> Dear Kenneth Heafield
>
> Thank you for your help. I installed libbz2-dev and the problem was solved.
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] error during compiling moses

2013-12-19 Thread amir haghighi
Dear Kenneth Heafield

Thank you for your help. I installed libbz2-dev and the problem was solved.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] How to convert new moses.ini format of to old format

2013-12-19 Thread Hieu Hoang
There's no script to do that.

Is there a reason you need to use the old decoder?


On 19 December 2013 16:40, Rajen Chatterjee wrote:

> Hello,
>There is a script "scripts/training/convert-moses-ini-to-v2.perl"
> which converts an old format of moses.ini to new format, but I want vice
> versa i.e. from new format to old format. How can I achieve this?
>
>
> --
> -Regards,
>  Rajen Chatterjee.
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] How to convert new moses.ini format of to old format

2013-12-19 Thread Rajen Chatterjee
Hello,
   There is a script "scripts/training/convert-moses-ini-to-v2.perl"
which converts an old format of moses.ini to new format, but I want vice
versa i.e. from new format to old format. How can I achieve this?


-- 
-Regards,
 Rajen Chatterjee.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Lexical weights in dynamic suffix array TM

2013-12-19 Thread Marcin Junczys-Dowmunt
OK, nevermind, just found it myself.

W dniu 19.12.2013 14:51, Marcin Junczys-Dowmunt pisze:
> Hi list,
> I am seeing that in the current Moses commit there is a class
> WordCoocTable that seems to be meant to provide lexical weights for the
> dynamic suffix array implementation. But I do not see where this
> actually connects with the suffix array itself. Those classes are not
> used anywhere in the code. So, this is not implemented yet?
>
> I was hoping to get some inspiration from that code for my Lucene-based
> TM, currently I am trying to think of a way to avoid precomputation of
> lexical weights, but I am stuck at computing marginal counts of the
> NULLs in both languages. The WordCoocTable code seems to be meant for
> precomputation as well.
>
> Best,
> Marcin
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Lexical weights in dynamic suffix array TM

2013-12-19 Thread Marcin Junczys-Dowmunt
Hi list,
I am seeing that in the current Moses commit there is a class 
WordCoocTable that seems to be meant to provide lexical weights for the 
dynamic suffix array implementation. But I do not see where this 
actually connects with the suffix array itself. Those classes are not 
used anywhere in the code. So, this is not implemented yet?

I was hoping to get some inspiration from that code for my Lucene-based 
TM, currently I am trying to think of a way to avoid precomputation of 
lexical weights, but I am stuck at computing marginal counts of the 
NULLs in both languages. The WordCoocTable code seems to be meant for 
precomputation as well.

Best,
Marcin

___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] GUI Interface for my SMT

2013-12-19 Thread Barry Haddow
Hi Pranjal, Kalyanee

Have you looked in contrib/iSenWeb/ in the Moses source tree? If that 
doesn't suit, then you should be able to build something of your own 
around the Moses server (contrib/server)

cheers - Barry

On 19/12/13 13:38, Pranjal Das wrote:
> Can anyone help me to build a GUI interface for my SMT system.
>
> *Pranjal Das*
> Department of Information Technology,
> Institute of Science and Technology,
> Gauhati University,Guwahati,Assam
> Phone- +91-8399879454
>
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] GUI Interface for my SMT

2013-12-19 Thread Pranjal Das
Can anyone help me to build a GUI interface for my SMT system.

*Pranjal Das*
Department of Information Technology,
Institute of Science and Technology,
Gauhati University,Guwahati,Assam
Phone- +91-8399879454
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] (no subject)

2013-12-19 Thread Kalyani Baruah
hii,i want to design a web interface to show the translation process .can
anyone help me out.





Regards,



*Kalyanee Kanchan Baruah*
Institute of Science and Technology,
Gauhati University,Guwahati,India
Phone- +91-9706242124
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] error during testing

2013-12-19 Thread amir haghighi
Dear Mr Nadeem

Thank you very very much for your help.
During the previous month, I tried everything for solving this problem but
none of them had worked.
After your email, I remembered that I upgraded my gcc and probably it is
the main cause of the problem.

I will get the upgraded Moses code and hope the problem will be solved.
(thanks to Dr Hieu)

Regards
Amir




On Wed, Dec 18, 2013 at 8:22 PM, Hieu Hoang  wrote:

> ah, that's good. However, if you get the latest Moses code by doing
>git pull
> you shouldn't get the problem. It was fixed on the 15th November
>
> https://github.com/moses-smt/mosesdecoder/commit/17887a27969e83f4100bd0f4af98986e33999fbe
>
>
> On 18 December 2013 16:40, nadeem khan  wrote:
>
>> I tried everything , as I was working on ubuntu 13.10 and there we got
>> latest gcc and I am getting testing problem of segm fault and then I
>> downgraded by gcc ,G++ etc boost to 1.48 all tthings goes just fine...
>>
>> Regards
>> Nadeem
>>
>>
>>   On Wednesday, December 18, 2013 9:33 PM, Hieu Hoang <
>> hieu.ho...@ed.ac.uk> wrote:
>>  there shouldn't be a problem with gcc version. There was a problem but
>> it has been fixed
>>
>> http://article.gmane.org/gmane.comp.nlp.moses.user/9868/match=gcc+4.8.2
>> However, it doesn't create an empty data set.
>>
>> Can you please tell me exactly what is the command that produces the
>> segfault. And can you please make available for download (via dropbox or
>> google drive) the files needed for me to reproduce the error.
>>
>>
>>
>>
>> On 18 December 2013 16:08, nadeem khan  wrote:
>>
>>  hi amir;
>>
>>
>> it is problem of your gcc version try older gcc then it works fine.
>>
>>
>>On Wednesday, December 18, 2013 7:56 PM, amir haghighi <
>> amir.haghighi...@gmail.com> wrote:
>>Hello,
>>
>> My problem is not solved yet:(.
>>
>> I changed the test data several times, but every time it got the
>> "segmentation fault" error! the reordering table of the training data set
>> is not empty but for all of the test data sets, it is empty.
>> could anybody help me?
>>
>> Regards
>> Amir
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  ___
>> Moses-support mailing listMoses-support@... 
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>> ___
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>>
>> ___
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>>
>>
>> --
>> Hieu Hoang
>> Research Associate
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>>
>>
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support