I'm getting the same message :

Can't read /home/train-degaulle-fren/training/model/reordering-table

2014-12-01 16:49 GMT+01:00 Marcin Junczys-Dowmunt <junc...@amu.edu.pl>:

>  Could you check whether this happens if you do not use the phrase table
> combination? Just one normal phrase table and a standard decoding path "0 T
> 0" ?
>
> W dniu 01.12.2014 o 16:43, Massinissa Ahmim pisze:
>
>  Hi Marcin,
>
>  the reordering table is over 12 GB, can I send a sample of the inital
> file instead?
>
>  here is my moses.ini :
>
> ### MOSES CONFIG FILE ###
> #########################
>
> # input factors
> [input-factors]
> 0
>
> # mapping steps
> [mapping]
> 0 T 2
>
>
> [distortion-limit]
> 6
>
> # feature functions
> [feature]
> UnknownWordPenalty
> WordPenalty
> PhrasePenalty
> #PhraseDictionaryCompact tuneable=false name=TranslationModel0
> num-features=4
> path=/home/Update4/train-pros-fren-update4/binarised-model/phrase-table-pros-fren-update4.minphr
> input-factor=0 output-factor=0 table-limit=20
>
>
> PhraseDictionaryCompact tuneable=false name=TranslationModel0
> num-features=4
> path=/home/train-degaulle-fren/binarised-model/phrase-table-degaulle-firsthalf.minphr
> input-factor=0 output-factor=0 table-limit=20
>
>
> PhraseDictionaryCompact tuneable=false name=TranslationModel1
> num-features=4
> path=/home/train-degaulle-fren/binarised-model/phrase-table-degaulle-secondhalf.minphr
> input-factor=0 output-factor=0 table-limit=20
>
>
>
>
> PhraseDictionaryMultiModel num-features=4 input-factor=0 output-factor=0
> table-limit=20 mode=interpolate lambda=0.5,0.5
> components=TranslationModel0,TranslationModel1
>
> LexicalReordering name=LexicalReordering0 num-features=6
> type=wbe-msd-bidirectional-fe-
> allff input-factor=0 output-factor=0
> path=/home/train-degaulle-fren/training/model/reordering-table.minlexr
>
>
> Distortion
> KENLM lazyken=0 name=LM0 factor=0 path=/home/DATA/LM/Corps-lm.blm.en.mm
> order=5
>
> # dense weights for feature functions
>
>
>
>
> [threads]
> all
> [weight]
>
> LexicalReordering0= 0.0564145 -0.00809962 0.0939308 0.114042 0.0630804
> 0.0683044
> Distortion0= 0.0452205
> LM0= 0.140316
> WordPenalty0= 0.0793205
> PhrasePenalty0= 0.113696
> PhraseDictionaryMultiModel0= 0.0608326 0.102939 0.0533373 0.000466626
> TranslationModel0= 0 0 1 0
> TranslationModel1= 0 0 1 0
> UnknownWordPenalty0= 1
>
>
> 2014-12-01 16:30 GMT+01:00 Marcin Junczys-Dowmunt <junc...@amu.edu.pl>:
>
>>  Hm,
>> weird. In that case you should keep the suffix. Can you make the
>> reordering table available for download somehow? Can I see your full
>> INI-file?
>>
>> W dniu 01.12.2014 o 16:27, Massinissa Ahmim pisze:
>>
>>   Hi Marcin,
>>
>> I'm getting this now :
>>
>> Can't read /home/train-degaulle-fren/training/model/reordering-table
>>
>>  I double checked the paths, they seem to be correct
>>
>>  Thanks
>>
>>  Massinissa
>>
>> 2014-12-01 16:17 GMT+01:00 Marcin Junczys-Dowmunt <junc...@amu.edu.pl>:
>>
>>>  Hi,
>>> try removing the ".minlexr" suffix from the ini file. Does it work after
>>> that?
>>>
>>> W dniu 01.12.2014 o 16:14, Massinissa Ahmim pisze:
>>>
>>>    Dear all,
>>>
>>> I'm having troubles running moses with a compact lexical reordering
>>> table.
>>>
>>> After sorting the initial table, I ran the following command :
>>>
>>> /home/Moses/mosesdecoder/bin/processLexicalTableMin -in
>>> reordering-table.sort -out reordering-table -threads 32
>>>
>>>  the process has been successfully completed so I've updated my
>>> moses.ini file :
>>>
>>> LexicalReordering name=LexicalReordering0 num-features=6
>>> type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
>>> path=/home/train-deg
>>> aulle-fren/training/model/reordering-table.minlexr
>>>
>>>
>>>  and ran moses like this :
>>>
>>> /home/Moses/mosesdecoder/bin/moses -f moses2.ini -minlexr-memory
>>>
>>>  and I'm getting the following error :
>>>
>>> ....
>>> line=LexicalReordering name=LexicalReordering0 num-features=6
>>> type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
>>> path=/home/train-degaulle-fren/training/model/reordering-table.minlexr
>>> FeatureFunction: LexicalReordering0 start: 15 end: 20
>>> Initializing LexicalReordering..
>>> line=Distortion
>>> FeatureFunction: Distortion0 start: 21 end: 21
>>> line=KENLM lazyken=0 name=LM0 factor=0 path=/home/DATA/LM/
>>> Corps-lm.blm.en.mm order=5
>>> FeatureFunction: LM0 start: 22 end: 22
>>> Loading UnknownWordPenalty0
>>> Loading WordPenalty0
>>> Loading PhrasePenalty0
>>> Loading LexicalReordering0
>>> Loading table into memory...Exception: vector::_M_range_check
>>>
>>>
>>>  Many thanks
>>>
>>> Massinissa
>>>
>>> --
>>>
>>> [image: Description : Description : lingua_custodia_final full logo]
>>>
>>>  *The Translation Trustee*
>>>
>>> *1, Place Charles de Gaulle*
>>>
>>> *78180 Montigny-le-Bretonneux*
>>>
>>> *Tel : +33 1 30 44 04 23   Mobile : +33 7 61 44 40 84*
>>>
>>> *Email :*  *massinissa.ah...@linguacustodia.com
>>> <massinissa.ah...@linguacustodia.com>*
>>>
>>> *Website :*  *www.linguacustodia.com <http://www.linguacustodia.com/> -
>>> www.thetranslationtrustee.com  <http://www.thetranslationtrustee.com>*
>>>
>>> A Young Innovative Company recognised by the French Research Ministry
>>> and Paris Finance Innovation cluster
>>>
>>> [image: Logo labellisé FI small]
>>>
>>>
>>>  _______________________________________________
>>> Moses-support mailing 
>>> listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>
>>
>> --
>>
>> [image: Description : Description : lingua_custodia_final full logo]
>>
>>  *The Translation Trustee*
>>
>> *1, Place Charles de Gaulle*
>>
>> *78180 Montigny-le-Bretonneux*
>>
>> *Tel : +33 1 30 44 04 23   Mobile : +33 7 61 44 40 84*
>>
>> *Email :*  *massinissa.ah...@linguacustodia.com
>> <massinissa.ah...@linguacustodia.com>*
>>
>> *Website :*  *www.linguacustodia.com <http://www.linguacustodia.com/> -
>> www.thetranslationtrustee.com  <http://www.thetranslationtrustee.com>*
>>
>> A Young Innovative Company recognised by the French Research Ministry and
>> Paris Finance Innovation cluster
>>
>> [image: Logo labellisé FI small]
>>
>>
>>
>
>
> --
>
> [image: Description : Description : lingua_custodia_final full logo]
>
>  *The Translation Trustee*
>
> *1, Place Charles de Gaulle*
>
> *78180 Montigny-le-Bretonneux*
>
> *Tel : +33 1 30 44 04 23   Mobile : +33 7 61 44 40 84*
>
> *Email :*  *massinissa.ah...@linguacustodia.com
> <massinissa.ah...@linguacustodia.com>*
>
> *Website :*  *www.linguacustodia.com <http://www.linguacustodia.com/> -
> www.thetranslationtrustee.com  <http://www.thetranslationtrustee.com>*
>
> A Young Innovative Company recognised by the French Research Ministry and
> Paris Finance Innovation cluster
>
> [image: Logo labellisé FI small]
>
>
>


-- 

[image: Description : Description : lingua_custodia_final full logo]

 *The Translation Trustee*

*1, Place Charles de Gaulle*

*78180 Montigny-le-Bretonneux*

*Tel : +33 1 30 44 04 23   Mobile : +33 7 61 44 40 84*

*Email :*  *massinissa.ah...@linguacustodia.com
<massinissa.ah...@linguacustodia.com>*

*Website :*  *www.linguacustodia.com <http://www.linguacustodia.com/> -
www.thetranslationtrustee.com  <http://www.thetranslationtrustee.com>*

A Young Innovative Company recognised by the French Research Ministry and
Paris Finance Innovation cluster

[image: Logo labellisé FI small]
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to