I Love Natural Language Processing

I LOVE NLP

Archive for January, 2010

Moses Support Digest: moses installation

without comments

[Moses-support] moses installation

HAI friends……….

i am working in SMT.For that i tried to install MOSES.I installed GIZA++ and SRILM.While installing moses some error is coming….it happens at “make -j 2″….i am copy pasting what it gives……

############################################

$[root at localhost moses]# make -j 2
make all-recursive
make[1]: Entering directory `/root/Desktop/tools/moses’
Making all in moses/src
make[2]: Entering directory `/root/Desktop/tools/moses/moses/src’
make all-am
make[3]: Entering directory `/root/Desktop/tools/moses/moses/src’
make[3]: Nothing to be done for `all-am’.
make[3]: Leaving directory `/root/Desktop/tools/moses/moses/src’
make[2]: Leaving directory `/root/Desktop/tools/moses/moses/src’
Making all in moses-cmd/src
make[2]: Entering directory `/root/Desktop/tools/moses/moses-cmd/src’
g++ -g -O2 -L/root/Desktop/tools/srilm/lib/ -o moses Main.o mbr.o
IOWrapper.o TranslationAnalysis.o -L../../moses/src -lmoses -loolm -ldstruct
-lmisc -lz
/usr/bin/ld: cannot find -loolm

collect2: ld returned 1 exit status
make[2]: *** [moses] Error 1
make[2]: Leaving directory `/root/Desktop/tools/moses/moses-cmd/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/tools/moses’
make: *** [all] Error 2
[root at localhost moses]#
##########################################################################

If anyone knows please reply me……Waiting for your reply……………..

With regards .rashli
Read the rest of this entry »

Written by 52nlp

January 29th, 2010 at 8:17 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest:word lattice and multiple translation tables optimization problem

without comments

[Moses-support] word lattice + multiple translation tables optimization problem

Dear all,

I am trying to optimize a system with multiple translation tables and a word lattice input. The first iteration of the optimization is done ok. However, after that, I get the following error:

“The decoder produced also some ‘I’ scores, but we do not know the ranges for them, no way to optimize them”

If I use only one translation table, I get exactly the same error, so it may be a problem related with word lattice and/or binary translation table.

thanks for your concern,
Marta
Read the rest of this entry »

Written by 52nlp

January 23rd, 2010 at 7:28 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest: moses_chart and recaser phrase-table

without comments

[Moses-support] moses_chart and recaser/phrase-table ?

Hi,

is the moses/moses_chart executable from the mt3_chart branch supposed to be usable as a recaser (that is using a phrase-table) ? When I do so then I get a SEGV (see stacktrace at the very end).

Working on the same files with moses from svn/trunk works fine.

I read somewhere that irstlm is not thread-safe and in the debug output I see that a new thread has been started. Is that the problem? I thought I’d be safe because I did *not* configure moses with –enable-threads nor with boost.

many thanks
Christof
Read the rest of this entry »

Written by 52nlp

January 22nd, 2010 at 10:00 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest: moses-chart error while compiling training scripts

without comments

[Moses-support] moses-chart: error while compiling training scripts

I’ve got the following error message when compiling the training scripts from the moses-chart trunk:

g++ tables-core.o extract.o SyntaxTree.o XmlTree.o -o extract
extract.o: In function `printAllHieroPhrases(SentenceAlignment&, int,
int, int, int, HoleCollection&)’:
moses-chart/scripts/training/phrase-extract/extract.cpp:561: undefined
reference to `HoleCollection::SortSourceHoles()’
collect2: ld returned 1 exit status
make[1]: *** [extract] Error 1
make[1]: Leaving directory `moses-chart/scripts/training/phrase-extract’
make: *** [compile] Error 1

Does anyone know what the problem is?
Thanks!

Jörg
Read the rest of this entry »

Written by 52nlp

January 21st, 2010 at 9:21 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest:moses for cygwin

without comments

[Moses-support] moses for cygwin

hello everyone:
Is there somebody install moses in cygwin? when i install it in cygwin, the srilm does not install¡.
Read the rest of this entry »

Written by 52nlp

January 17th, 2010 at 10:41 am

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest: The problem with the installation of Moses on Windows XP

without comments

[Moses-support] The problem with the installation of Moses on Windows XP

Hello,
I would like to install Moses on my computer with Windows XP. I used the instructions contained on the website, but unfortunately I was not able to properly install the program. Can I get instructions step by step how to install Moses on Windows XP. What should I do that the program runs well on Windows?

Yours,

Dariusz Opaliński

Informatyk
Read the rest of this entry »

Written by 52nlp

January 16th, 2010 at 11:42 am

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest: Moses on the iPhone

without comments

[Moses-support] Moses on the iPhone

Hello,

My name is Andrew Haddad. I am a Graduate Research Assistant at Purdue University. I have been given the task of getting moses working on the iphone. The moses package, which we have successfully installed and have running in simulation on the iphone will of course not work due to some limitations put for by Apple.

I am going to be forced to cross compile the moses static library, used in moses-cmd, for the arm and i386 architecture. And then rewrite the functionality of moses-cmd to be used in our application. Do you know of anyone who has attempted something similar, that might be able to explain the process?

Sláinte
Andrew W. Haddad
Read the rest of this entry »

Written by 52nlp

January 12th, 2010 at 9:34 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest: different servers different time different result

without comments

[Moses-support] different servers + different time – different result?

Hi all,

I ran some experiments with moses like, half a year ago. And recently I ran them for a second time. The time I got the reuslts, I got confused.
Beacause they’re so different from those I got previously.

The softwares I used was not changed, the same version. The corpus is of course the same. I just copied them. And I used the same script the run the experiments, just changed some directory. It seems I ran the same experiments on two different servers at different time, and got different results.

I checked alignment results, aligned.grow-diag-and-final, and there’re a lot of differences. I also checked moses.ini, and the parameters are greatly different.

So, has anybody ever come into this situation? I’m really confused…

Regards,

Lee Xianhua
Read the rest of this entry »

Written by 52nlp

January 11th, 2010 at 8:23 pm

Posted in Moses, SMT

Tagged with , , ,

Moses Support Digest:Alignment information from binary phrase table

without comments

[Moses-support] Alignment information from binary phrase table

Hello all,

I am trying to get the alignment information from a binary phrase table that was generated from a plain phrase table containing alignment information.

I load the phrase table through the following piece of code:
——————
numScoreComponent=5;
numInputScores=0;
tableLimit=0;
weightWP=0;

input.push_back(0);
output.push_back(0);

weight.push_back(0); weight.push_back(0);
weight.push_back(0); weight.push_back(0); weight.push_back(0);

PhraseDictionaryTreeAdaptor *pd=new
PhraseDictionaryTreeAdaptor(numScoreComponent, numInputScores);

pd->DisableCache();

if (!pd->Load(input, output, “/path/to/phrase/table”, weight, tableLimit, lmList, weightWP)) {
delete pd;
cerr< <"Error: Cannot load Moses binary phrase table, path='"< exit(EXIT_FAILURE);
}
------------------

and I get the following error message:

reading bin ttable
size of OFF_T 8
ERROR:You are asking binary phrase table without word alignments but the
file do not exist. Please check if you had generated the correct phrase
table without word alignment
(phrase-table.binphr.srctree,phrase-table.binphr.tgtdata)

ERROR:bin ttable was read in a wrong way

When the binary phrase table does not contain any alignment information
it works without problems.

How should a binary phrase table with alignment information be loaded?
Should I change some parameters? Which? Any help will be very valuable.

Thank you very much in advance, and happy new year.
Read the rest of this entry »

Moses Support Digest:Reading binary phrase table from the disk

without comments

[Moses-support] Reading binary phrase table from the disk

Hello,

As I understand, when given a binary phrase table, moses does not load it into memory, but rather seeks for phrases in file directly from disk. Could you please tell me, what are the functions in C++ that are used for this purpose.

Thank you,

Michael.
Read the rest of this entry »

Written by 52nlp

January 5th, 2010 at 8:56 pm

Posted in Moses, SMT

Tagged with , , ,