Thanks, I found:
feature-function = StateMinimizingLanguageModel -lm_type kenlm
-lm_order 5 -lm_file lm.kenlm2
in joshua.config. But the 2 actually came from the
language-pack-es-en-phrase-2015-03-06.tgz I downloaded a few days ago.
I haven't downloaded the revised tarball, but your two suggested fixes
did the trick.
And so I got this to work:
$ echo "Hola Mundo." | ./prepare.sh | ./run-joshua.sh
hello world .
Thanks!
I assume the pre-built model can't be used to translate the other way
(en to es)?
Back on the actual Quick Start guide, it seems to stop short of
actually using the trained and tested model to translate arbitrary
text. Once I have built the bn-en model (using
pipeline.pl), how do I
use it with Joshua like the es-en model (eg run-joshua.sh)?
One more suggestion: I think the Quick Start should follow the
guideline in Pipeline's documentation, which says "Don’t run the
pipeline directly from $JOSHUA." By the way, that paragraph in
Pipeline's documentation stops mid-sentence on a bit of a cliffhanger:
"support scripts... that only work if you -".
http://joshua-decoder.org/6.0/pipeline.html
Cheers,