As i recompiled it with -a flag it works again.
Thanks a lot

On Wed, Jun 3, 2015 at 6:57 PM Marcin Junczys-Dowmunt <[email protected]>
wrote:

>  Hi,
>
> two things to try:
>
> recompile with the -a option, so everything get rebuilt properly.
>
> If that does not work, post the contents of your model folder with
>
> ls -lah /home/hamed1soleimani/working/v1.2/binarised-model/
>
> Best,
>
> Marcin
>
> W dniu 2015-06-03 16:21, Hamed Soleimani napisaƂ(a):
>
>
> Hi all,
>
> My baseline translation systems was working great, but yesterday as i
> updated and compiled mosesdecoder source code again and switched from giza
> to mgiza I couldn't translate any sentence anymore. I lookup recent commits
> in github but i didn't find anything related to my problem.
>
> This is result of decoder:
>
>  [hamed1soleimani@hamed1soleimani ~]$ mosesdecoder/bin/moses -f
> working/v1.2/binarised-model/moses.ini
> Defined parameters (per moses.ini or switch):
>  config: working/v1.2/binarised-model/moses.ini
>  distortion-limit: 6
>  feature: UnknownWordPenalty WordPenalty PhrasePenalty
> PhraseDictionaryCompact name=TranslationModel0 num-features=4
> path=/home/hamed1soleimani/working/v1.2/binarised-model/phrase-table
> input-factor=0 output-factor=0 LexicalReordering name=LexicalReordering0
> num-features=6 type=wbe-msd-bidirectional-fe-allff input-factor=0
> output-factor=0
> path=/home/hamed1soleimani/working/v1.2/binarised-model/reordering-table
> Distortion KENLM lazyken=0 name=LM0 factor=0
> path=/home/hamed1soleimani/lm/v1.2/mizan.final.blm.en order=3
>  input-factors: 0
>  mapping: 0 T 0
>  threads: 4
>  weight: LexicalReordering0= 0.0605259 0.0381224 0.183614 0.0646507
> 0.0559396 0.0463035 Distortion0= 0.0353544 LM0= 0.0781512 WordPenalty0=
> -0.17106 PhrasePenalty0= 0.0882376 TranslationModel0= 0.0128144 0.0528043
> 0.0662476 0.0461745 UnknownWordPenalty0= 1
> line=UnknownWordPenalty
> FeatureFunction: UnknownWordPenalty0 start: 0 end: 0
> line=WordPenalty
> FeatureFunction: WordPenalty0 start: 1 end: 1
> line=PhrasePenalty
> FeatureFunction: PhrasePenalty0 start: 2 end: 2
> line=PhraseDictionaryCompact name=TranslationModel0 num-features=4
> path=/home/hamed1soleimani/working/v1.2/binarised-model/phrase-table
> input-factor=0 output-factor=0
> FeatureFunction: TranslationModel0 start: 3 end: 6
> line=LexicalReordering name=LexicalReordering0 num-features=6
> type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
> path=/home/hamed1soleimani/working/v1.2/binarised-model/reordering-table
> FeatureFunction: LexicalReordering0 start: 7 end: 12
> Initializing Lexical Reordering Feature..
> line=Distortion
> FeatureFunction: Distortion0 start: 13 end: 13
> line=KENLM lazyken=0 name=LM0 factor=0
> path=/home/hamed1soleimani/lm/v1.2/mizan.final.blm.en order=3
> FeatureFunction: LM0 start: 14 end: 14
> Loading UnknownWordPenalty0
> Loading WordPenalty0
> Loading PhrasePenalty0
> Loading LexicalReordering0
> Can't read
> /home/hamed1soleimani/working/v1.2/binarised-model/reordering-table
>
>
>
> my moses.ini file is:
>
>  # MERT optimized configuration
> # decoder /home/hamed1soleimani/mosesdecoder/bin/moses
> # BLEU 0.0653349 on dev
> /home/hamed1soleimani/corpus/v1.2/mizan.sample.tun.true.fa
> # We were before running iteration 9
> # finished Wed Jun  3 16:08:23 IRDT 2015
> ### MOSES CONFIG FILE ###
> #########################
>
> # input factors
> [input-factors]
> 0
>
> # mapping steps
> [mapping]
> 0 T 0
>
> [distortion-limit]
> 6
>
> # feature functions
> [feature]
> UnknownWordPenalty
> WordPenalty
> PhrasePenalty
> PhraseDictionaryCompact name=TranslationModel0 num-features=4
> path=/home/hamed1soleimani/working/v1.2/binarised-model/phrase-table
> input-factor=0 output-factor=0
> LexicalReordering name=LexicalReordering0 num-features=6
> type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
> path=/home/hamed1soleimani/working/v1.2/binarised-model/reordering-table
> Distortion
> KENLM lazyken=0 name=LM0 factor=0
> path=/home/hamed1soleimani/lm/v1.2/mizan.final.blm.en order=3
>
> # dense weights for feature functions
>
> [threads]
> 4
> [weight]
>
> LexicalReordering0= 0.0605259 0.0381224 0.183614 0.0646507 0.0559396
> 0.0463035
> Distortion0= 0.0353544
> LM0= 0.0781512
> WordPenalty0= -0.17106
> PhrasePenalty0= 0.0882376
> TranslationModel0= 0.0128144 0.0528043 0.0662476 0.0461745
> UnknownWordPenalty0= 1
>
> Best regards,
> Hamed
>
>
>
> _______________________________________________
> Moses-support mailing 
> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to