29 Jun 2012 21:15
Empty phrase table after running
Hi all,
I'm just getting started with Moses, and have come across a stumbling block trying to train a model
following the instructions (2.2.1) in the manual – train-model.perl looks as though it has no
complaints throughout (although as I said, I'm new to this, and may be missing something), but the phrase
table at ~/unfactored/model/phrase-table.gz extracts to a completely empty file.
I've had to modify the command slightly from the documentation, to account for a) absolute locations for
each of the files, b) the --external-bin-dir argument, so the command I ran was:
train-model.perl \
--corpus /Users/sam/mosesdecoder/factored-corpus/proj-syndicate.1000 \
--root-dir unfactored \
--f de --e en \
--lm 0:3:/Users/sam/mosesdecoder/factored-corpus/surface.lm:0 \
--external-bin-dir /Users/sam/moses-external-bins
I noticed this issue was addressed on the mailing list on 12th June ("Empty phrase-table"), but I'm only
using absolute directories, and my log shows no signs of script location mismatch (although I don't
understand about 80% of the output, so I'm likely missing something!). I've attached the output log, so
hopefully someone who's less of a novice may see something wrong,
I'm able to decode from the sample phrase table (seemingly) without issue, if that helps at all.
Thanks in advance,
Sam
***** 2 runs. (algorithm:TA)*****(Continue reading)
RSS Feed