it looks like you're missing the glue rules. This is just a very small 2nd
phrase-table. Have a look at this moses.ini file as an example
  http://www.statmt.org/moses/RELEASE-2.1/models/de-en/model/moses.ini.2


On 15 February 2014 11:19, Jean D'Ennris <[email protected]> wrote:

> Hi Hieu,
>
> Yes and even with the command line I'm getting nothing:
>
> echo 'le compartiment pourra utiliser les techniques' |
> /home/Moses/mosesdecoder/bin/moses_chart -f moses.ini
>
> Translating: <s> le compartiment pourra utiliser les techniques </s>  |||
> [0,0]=X (1) [0,1]=X (1) [0,2]=X (1) [0,3]=X (1) [0,4]=X (1) [0,5]=X (1)
> [0,6]=X (1) [0,7]=X (1) [1,1]=X (1) [1,2]=X (1) [1,3]=X (1) [1,4]=X (1)
> [1,5]=X (1) [1,6]=X (1) [1,7]=X (1) [2,2]=X (1) [2,3]=X (1) [2,4]=X (1)
> [2,5]=X (1) [2,6]=X (1) [2,7]=X (1) [3,3]=X (1) [3,4]=X (1) [3,5]=X (1)
> [3,6]=X (1) [3,7]=X (1) [4,4]=X (1) [4,5]=X (1) [4,6]=X (1) [4,7]=X (1)
> [5,5]=X (1) [5,6]=X (1) [5,7]=X (1) [6,6]=X (1) [6,7]=X (1) [7,7]=X (1)
>
>   0   1   2   3   4   5   6   7
>   0   3   3   1   1   2   1   0
>     0  12   3   1   4   3   0
>       0  12   3   5   5   0
>         0  12  18   6   0
>           0  50  21   0
>             0  50   0
>               0   0
>                 0
> NO BEST TRANSLATION
>
>
> The sentence was extracted from the corpora I used to train the engine,
> any suggestion?
>
> Many thanks
>
>
>
>
> 2014-02-14 14:19 GMT+01:00 Hieu Hoang <[email protected]>:
>
> does your input file contain anything?
>>
>>
>> On 13 February 2014 15:18, Jean D'Ennris <[email protected]> wrote:
>>
>>> Dear all,
>>>
>>> I'm currently experimenting the syntactic model. I've successfully
>>> trained a small moses using the command below :
>>>
>>> nohup /home/mosesdecoder/scripts/training/train-model.perl
>>> --hierarchical --extract-options="--MaxSpan 15"
>>> --score-options="--GoodTuring" -root-dir /home/Massi/oldmoses -corpus
>>>  /home/Massi/proj-syndicate.1000.0-0 -f de -e en  -lm
>>> 0:3:/home/Massi/LM.sur.en.blm -external-bin-dir /root/external-bin-dir/
>>>  -mgiza -mgiza-cpus 24 >& training.out &
>>>
>>> the rule-table has been generated, but as I run :
>>>
>>> mosesdecoder/bin/moses_chart -f moses.ini < in > out.stt
>>>
>>> the message below
>>>
>>> loadtxt_ram()
>>> 8-grams: reading 0 entries
>>> done level 8
>>> 2-grams: reading 0 entries
>>> done level 2
>>> 1-grams: reading 0 entries
>>> done level 1
>>> done
>>> starting to use OOV words [<unk>]
>>> OOV code is 0
>>> OOV code is 0
>>> IRST: m_unknownId=0
>>> ScoreProducer: LM start: 2 end: 3
>>> Finished loading LanguageModels : [0.051] seconds
>>> Start loading PhraseTable /home/Massi/oldmoses/model/rule-table.gz :
>>> [0.051] seconds
>>> filePath: /home/Massi/oldmoses/model/rule-table.gz
>>> ScoreProducer: PhraseModel start: 3 end: 8
>>> Finished loading phrase tables : [0.051] seconds
>>> max-chart-span: 20
>>> Start loading phrase table from /home/Massi/oldmoses/model/rule-table.gz
>>> : [0.051] seconds
>>> Start loading text SCFG phrase table. Moses  format : [0.052] seconds
>>> Reading /home/Massi/oldmoses/model/rule-table.gz
>>>
>>> ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
>>>
>>> ****************************************************************************************************
>>> Finished loading phrase tables : [1.489] seconds
>>> IO from STDOUT/STDIN
>>> Created input-output object : [1.489] seconds
>>> End. : [1.489] seconds
>>> user    1.416
>>> sys     0.072
>>> VmPeak:   324376 kB
>>> VmRSS:    167760 kB
>>> reset mmap
>>>
>>> and the output file is empty
>>>
>>> Many thanks
>>>
>>> Jean E.
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>
>>
>> --
>> Hieu Hoang
>> Research Associate
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>>
>>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to