I Love Natural Language Processing

I LOVE NLP

Moses Support Digest:compiling moses 3 chart

without comments

[Moses-support] compiling moses 3 chart

Hello,
I guess this question is for Hugh.
I’m trying to compile the new moses chart parsing decoder in the mt3_chart directory.
I have the berkeleydb libraries under /usr/lib and /usr/include.
I run ./regenerate-makefiles.sh;./configure
–with-srilm=/home/john/srilm –with-berkeleydb=/usr
I get warnings and then an error like:
/usr/include/stdlib.h:351 error expected ; before * token
.
.
.

I have the trunk moses working smoothly. Is there anything extra needed to get the hierarchical chart parsing moses compiled?
Thanks,


Regards,
John J Morgan


Re:[Moses-support] compiling moses 3 chart

hi john

I’ve added another phrase table implementation in the chart branch which uses berkeley db so even if you compile trunk ok, you need to do a little extra for this branch. I think if Berkeley db includes & libs are installed in the default locations, you don’t need to specify the –with-berkeleydb option.

Hieu

Re:[Moses-support] compiling moses 3 chart

Hi,

try to compile without the –with-berkeleydb switch and everything should work.

-phi

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

Related posts:

  1. Moses Support Digest: moses-chart error while compiling training scripts
  2. Moses Support Digest:Error compiling on Linux
  3. Moses Support Digest: compiling on Mac
  4. Moses Support Digest:about the moses-chart reordering
  5. Moses Support Digest: About mert-moses in mose-chart
  6. Moses Support Digest: moses_chart and recaser phrase-table
  7. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
  8. Moses Support Digest: About moses-chart
  9. Moses Support Digest:mt3_chart compilation error
  10. Moses Support Digest:Moses compilation problem on fedora 11

Written by 52nlp

December 9th, 2009 at 8:09 pm

Posted in Moses,SMT

Tagged with , , ,

Leave a Reply