Thanks Franz and Raphael, Re: echo. I was using echo, but didn't copy to email. Sorry.
I rebuilt the model with closer attention to steps in the new link. Seems that I didn't wait long enough before. It finally translated after over an hour. It took 3776 seconds to load the phrase table. That's after I edited the moses.ini file to use the binarized table (I thought). The moses output and the moses.ini config are attached. What am I missing? Tom On Sat, 15 May 2010 16:13:30 +0100, Raphael Payen <[email protected]> wrote: >> Here's the input: >> >> dit is niet gebeurd . | moses -f ./model/moses.ini > > You need to write "echo" before your input, otherwise "dit" is not a > valid command. > > Also, when moses does nothing, try to type "dit is niet gebeurd" then > Ctrl-d instead of Ctrl-c
moses.ini
Description: application/wine-extension-ini
*********** translation ************
u...@moses01:~/home$ echo dit is niet gebeurd . | moses -f
./model/moses.ini
Defined parameters (per moses.ini or switch):
config: ./model/moses (copy).ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
./model/reordering-table
distortion-limit: 6
input-factors: 0
lmodel-file: 1 0 3 ./irstlm-3.en.blm.mm
mapping: 0 T 0
ttable-file: 0 0 0 5 ./model/phrase-table
ttable-limit: 20
weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
weight-l: 0.5000
weight-t: 0.2 0.2 0.2 0.2 0.2
weight-w: -1
Loading lexical distortion models...have 1 models
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
binary file loaded, default OFF_T: -1
Start loading LanguageModel ./irstlm-3.en.blm.mm : [0.000] seconds
In LanguageModelIRST::Load: nGramOrder = 3
Loading LM file (no MAP)
blmt
loadbin()
mapping 34988 1-grams
mapping 559604 2-grams
mapping 1698783 3-grams
done
OOV code is 34987
IRST: m_unknownId=34987
Finished loading LanguageModels : [0.000] seconds
Start loading PhraseTable ./model/phrase-table : [0.000] seconds
filePath: ./model/phrase-table
Finished loading phrase tables : [3776.000] seconds
IO from STDOUT/STDIN
Created input-output object : [3776.000] seconds
Translating: dit is niet gebeurd .
Collecting options took 0.080 seconds
Search took 1.190 seconds
BEST TRANSLATION: this is not the case . [11111] [total=-6.312] <<0.000,
-6.000, 0.000, -1.802, 0.000, 0.000, -0.151, 0.000, 0.000, -13.278,
-6.422,
-7.611, -4.700, -8.698, 2.000>>
this is not the case .
reset caches
reset mmap
len = 528244
sync = 0
running msync...
done. Running munmap...
done
len = 8398016
sync = 0
running msync...
done. Running munmap...
done
len = 11892697
sync = 0
running msync...
done. Running munmap...
done
Translation took 2.120 seconds
Finished translating
End. : [4077.000] seconds
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
