Re: [Moses-support] How to add additional library when compiling Moses 1.0

2013-08-10 Thread Hieu Hoang
try adding the line external-lib boost_regex ; to Jamroot. I'm not certain but it seems when the other libraries are specified On 10 August 2013 01:58, jian zhang jianzhan...@gmail.com wrote: Hi, My stateless XXX feature needs to use libboost_regex.so library, how/where can I modify the

[Moses-support] How to output just translation

2013-08-10 Thread Kris Spring
I'm trying to get Moses to translate a file after running the training and it seems to be doing it just one line at a time and is outputting all of the stats for each line. Is there a way I can just have it run on the file and generate JUST the translated document? My goal is to compare it with

Re: [Moses-support] How to add additional library when compiling Moses 1.0

2013-08-10 Thread Kenneth Heafield
Look at jam-files/sanity.jam line 173, read the comment (the appropriate value from boost.jam is REGEX_DYN_LINK), add a line like the ones that follow, and then use it as a dependency by copying what moses-cmd/Jamfile does. On 08/10/13 19:04, Hieu Hoang wrote: try adding the line

Re: [Moses-support] How to add additional library when compiling Moses 1.0

2013-08-10 Thread jian zhang
Thanks, Hieu and Kenneth, it is working now by configuring sanity.jam and adding dependency. Jian Zhang On Sat, Aug 10, 2013 at 5:04 PM, Hieu Hoang hieu.ho...@ed.ac.uk wrote: try adding the line external-lib boost_regex ; to Jamroot. I'm not certain but it seems when the other libraries