I Love Natural Language Processing

I LOVE NLP

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

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

hi joerg

svn up 1 more time. i forgot to check in the makefile

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

Hi Joerg,

it seems there’s a bug in scripts/training/phrase-extract/Makefile. You need to add “HoleCollection.o” to the compile line and dependencies of “extract”:

extract: tables-core.o [...] HoleCollection.o extract.h
g++ tables-core.o [...] HoleCollection.o -o extract

at least that’s what I did …

best regards
Christof

NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.

Related posts:

  1. Moses Support Digest:compiling moses 3 chart
  2. Moses Support Digest:Moses Error in training phrase
  3. Moses Support Digest:Error compiling on Linux
  4. Moses Support Digest: About mert-moses in mose-chart
  5. Moses Support Digest:about the moses-chart reordering
  6. Moses Support Digest: compiling on Mac
  7. Moses Support Digest:mt3_chart compilation error
  8. Moses Support Digest: About moses-chart
  9. Moses Support Digest: experiment management system and Moses scripts
  10. Moses Support Digest:GIZA++ error

Written by 52nlp

January 21st, 2010 at 9:21 pm

Posted in Moses,SMT

Tagged with , , ,

Leave a Reply