[Moses-support] moses for haitian relief

2010-01-27 Thread christopher taylor
hello everyone!

i'm currently trying to build an instance of moses to support
crisiscommons.org's machine translation project (i'm currently the
PM).

i really want to give moses a spin *but* i'm having issues building it.

my build trouble is related to liboolm.a - here's out put from my compilation:

Making all in moses-cmd/src
make[2]: Entering directory `../mt/moses/moses-cmd/src'
g++  -g -O2  -L..//mt/srilm/lib/i686 -L..//mt/irstlm//lib/x86_64 -o
moses  Main.o mbr.o IOWrapper.o TranslationAnalysis.o
-L../../moses/src -lmoses   -loolm -ldstruct -lmisc -lirstlm -lz
/usr/bin/ld: skipping incompatible ../mt/srilm/lib/i686/liboolm.a when
searching for -loolm
/usr/bin/ld: cannot find -loolm
collect2: ld returned 1 exit status
make[2]: *** [moses] Error 1
make[2]: Leaving directory `..//mt/moses/moses-cmd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `..//mt/moses'
make: *** [all] Error 2

thanks so much for your help!

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


Re: [Moses-support] moses for haitian relief

2010-01-27 Thread Miles Osborne
it looks to me like you have not correctly compiled  / installed the srilm.

Miles

2010/1/27 christopher taylor christopher.paul.tay...@gmail.com:
 hello everyone!

 i'm currently trying to build an instance of moses to support
 crisiscommons.org's machine translation project (i'm currently the
 PM).

 i really want to give moses a spin *but* i'm having issues building it.

 my build trouble is related to liboolm.a - here's out put from my compilation:

 Making all in moses-cmd/src
 make[2]: Entering directory `../mt/moses/moses-cmd/src'
 g++  -g -O2  -L..//mt/srilm/lib/i686 -L..//mt/irstlm//lib/x86_64 -o
 moses  Main.o mbr.o IOWrapper.o TranslationAnalysis.o
 -L../../moses/src -lmoses   -loolm -ldstruct -lmisc -lirstlm -lz
 /usr/bin/ld: skipping incompatible ../mt/srilm/lib/i686/liboolm.a when
 searching for -loolm
 /usr/bin/ld: cannot find -loolm
 collect2: ld returned 1 exit status
 make[2]: *** [moses] Error 1
 make[2]: Leaving directory `..//mt/moses/moses-cmd/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `..//mt/moses'
 make: *** [all] Error 2

 thanks so much for your help!

 chris taylor
 ___
 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


Re: [Moses-support] moses for haitian relief

2010-01-27 Thread Christof Pintaske
Hi Christopher,

when I tried to build srilm on a amd64 machine running Linux, I found 
that srilm used the common/Makefile.machine.i686 Makefile. This, in 
turn, defines compiler flags GCC_FLAGS = -m32 -mtune=pentium3 -W
I removed the -m32 -mtune=pentium from the flags to build regular 64 
bit code. After that I could link the result to moses quite fine.

hope that helps
Christof


christopher taylor wrote:
 hello everyone!
 
 i'm currently trying to build an instance of moses to support
 crisiscommons.org's machine translation project (i'm currently the
 PM).
 
 i really want to give moses a spin *but* i'm having issues building it.
 
 my build trouble is related to liboolm.a - here's out put from my compilation:
 
 Making all in moses-cmd/src
 make[2]: Entering directory `../mt/moses/moses-cmd/src'
 g++  -g -O2  -L..//mt/srilm/lib/i686 -L..//mt/irstlm//lib/x86_64 -o
 moses  Main.o mbr.o IOWrapper.o TranslationAnalysis.o
 -L../../moses/src -lmoses   -loolm -ldstruct -lmisc -lirstlm -lz
 /usr/bin/ld: skipping incompatible ../mt/srilm/lib/i686/liboolm.a when
 searching for -loolm
 /usr/bin/ld: cannot find -loolm
 collect2: ld returned 1 exit status
 make[2]: *** [moses] Error 1
 make[2]: Leaving directory `..//mt/moses/moses-cmd/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `..//mt/moses'
 make: *** [all] Error 2
 
 thanks so much for your help!
 
 chris taylor
 ___
 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] Moses server dies when loading language model

2010-01-27 Thread Panagiotis Kanavos

Hi,


I downloaded moses from svn and followed the steps to build the moses server 
with multithreading. I think I built it successfully, but when I run it I get 
this error when it starts loading the language model:


mosesserver: LanguageModelInternal.cpp:22: virtual bool 
Moses::LanguageModelInternal::Load(const std::string, Moses::FactorType, 
float, size_t): Assertion `nGramOrder = 3' failed.


I had already installed moses on my Ubuntu 64bit Server using Eric Nichols 
packages, which still runs fine.


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


Re: [Moses-support] Moses server dies when loading language model

2010-01-27 Thread Christof Pintaske
I'd think that you did not compile or link successfully against SRILM. 
As a consequence LanguageModelInternal tries to load the language model 
as opposed to being overloaded by the correct SRILM code.

just my 2 cents
Christof

Panagiotis Kanavos wrote:
 Hi,
 
 
 I downloaded moses from svn and followed the steps to build the moses 
 server with multithreading. I think I built it successfully, but when I 
 run it I get this error when it starts loading the language model:
 
 
 mosesserver: LanguageModelInternal.cpp:22: virtual bool 
 Moses::LanguageModelInternal::Load(const std::string, 
 Moses::FactorType, float, size_t): Assertion `nGramOrder = 3' failed.
 
 
 I had already installed moses on my Ubuntu 64bit Server using Eric 
 Nichols packages, which still runs fine.
 
 
 TIA
 
 
 
 
 ___
 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


Re: [Moses-support] Fw: Error @Train Phrase Model

2010-01-27 Thread 竹元勇太
Hi, Laurentia Dwintani

I think you need the absolute path.
First, let's test it.

2010/1/26 Laurentia Dwintani pankponk_ho...@yahoo.com


 I use fedora 12 amd64 run in VirtualBox

 I follow the instruction at Moses Installation and Training Run-Through
 = http://www.statmt.org/moses_steps.html

 Everything is ok (sometimes get warning) until I run Train Phrase Model

 When I enter this command:

 nohup nice
 moses-scripts/scripts-20100126-1440/training/train-factored-phrase-model.perl
 -scripts-root-dir moses-scripts/scripts-20100126-1440/ -root-dir work
 -corpus work/corpus/news-commentary.lowercased -f fr -e en -alignment
 grow-diag-final-and -reordering msd-bidirectional-fe -lm
 0:3:/home/lau2/TA/Moses1/work/lm/news-commentary.lm  work/training.out 




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




-- 
Yuta Takemoto
takemoto.y...@gmail.com
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Fw: Error @Train Phrase Model

2010-01-27 Thread Laurentia Dwintani
Hmm, I don't get it


What do you mean with absolute path?




From: 竹元勇太 takemoto.y...@gmail.com
To: Laurentia Dwintani pankponk_ho...@yahoo.com
Cc: moses-support@mit.edu
Sent: Thu, January 28, 2010 9:28:52 AM
Subject: Re: [Moses-support] Fw: Error @Train Phrase Model

Hi, Laurentia Dwintani

I think you need the absolute path.
First, let's test it. 


2010/1/26 Laurentia Dwintani pankponk_ho...@yahoo.com


I use fedora 12 amd64 run in VirtualBox



I follow the instruction at Moses Installation and Training Run-Through = 
http://www.statmt.org/moses_steps.html


Everything is ok (sometimes get warning) until I run Train Phrase Model


When I enter this command:


nohup nice 
moses-scripts/scripts-20100126-1440/training/train-factored-phrase-model.perl 
-scripts-root-dir moses-scripts/scripts-20100126-1440/ -root-dir work -corpus 
work/corpus/news-commentary.lowercased -f fr -e en -alignment
 grow-diag-final-and -reordering msd-bidirectional-fe -lm
 0:3:/home/lau2/TA/Moses1/work/lm/news-commentary.lm  work/training.out 





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




-- 
Yuta Takemoto
takemoto.y...@gmail.com



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