Hi All,
i am doing translation by using following command:-
echo"good morning" | TMP=/tmp
/home/nakul/moses/mosesdecoder/trunk/moses-cmd/src/moses -f
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/moses.ini
-v 2
i can error in translation as follows:-
Defined parameters (per moses.ini or switch):
config:
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/moses.ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/reordering-table.wbe-msd-bidirectional-fe.gz
distortion-limit: 6
input-factors: 0
lmodel-file: 0 0 3
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/hindi_lm.lm
mapping: 0 T 0
ttable-file: 0 0 0 5
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/phrase-table.gz
ttable-limit: 20
verbose: 2
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
input type is: text input
Loading lexical distortion models...have 1 models
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
Loading table into memory...done.
Start loading LanguageModel
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/hindi_lm.lm
: [1.000] seconds
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/hindi_lm.lm:
line 122: warning: non-zero probability for <unk> in closed-vocabulary
LM
Finished loading LanguageModels : [1.000] seconds
About to LoadPhraseTables
Start loading PhraseTable
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/phrase-table.gz
: [1.000] seconds
filePath:
/home/nakul/moses/mosesdecoder/trunk/scripts/training/moses-scripts/scripts-20110405-1055/training/model/phrase-table.gz
using standard phrase tables
PhraseDictionaryMemory: input=FactorMask<0> output=FactorMask<0>
Finished loading phrase tables : [2.000] seconds
IO from STDOUT/STDIN
Created input-output object : [2.000] seconds
The score component vector looks like this:
Distortion
WordPenalty
!UnknownWordPenalty
LexicalReordering_wbe-msd-bidirectional-fe-allff_1
LexicalReordering_wbe-msd-bidirectional-fe-allff_2
LexicalReordering_wbe-msd-bidirectional-fe-allff_3
LexicalReordering_wbe-msd-bidirectional-fe-allff_4
LexicalReordering_wbe-msd-bidirectional-fe-allff_5
LexicalReordering_wbe-msd-bidirectional-fe-allff_6
LM_3gram
PhraseModel_1
PhraseModel_2
PhraseModel_3
PhraseModel_4
PhraseModel_5
Stateless: 1 Stateful: 3
The global weight vector looks like this: 0.300 -1.000 1.000 0.300
0.300 0.300 0.300 0.300 0.300 0.500 0.200 0.200 0.200 0.200 0.200
End. : [2.000] seconds
i am able to initally get the correct output but now this problem is coming.
There is a entry in pharse-table.gz as follows:-
good morning
||| शुभ प्रभात ||| 1 0.145833 1 0.0140262 2.718
Please tell where is the problem and how to solve it ?
--
Thanks & Regards,
nakul
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support