Wow, It works. sorry for my stupid mistake.
Thanks a lot

On Fri, May 8, 2015 at 10:34 AM Marcin Junczys-Dowmunt <[email protected]>
wrote:

>  Hi,
> check if you a have an unwanted newline-character in the line with the
> phrase table feature of your ini file. Looks like it.
> Best,
> Marcin
>
> W dniu 08.05.2015 o 07:10, Hamed Soleimani pisze:
>
> Hello,
>  I've been following the Moses manual to create a Baseline System but I am
> now stuck at the Testing section. I get this strange message as i tried to
> read binarised table . Appreciate any help thanks.
>
>  Defined parameters (per moses.ini or switch):
>  config: /home/hamed1soleimani/working/binarised-model/moses.ini
>  distortion-limit: 6
>  feature: UnknownWordPenalty WordPenalty PhrasePenalty
> PhraseDictionaryCompact name=TranslationModel0 num-features=4
> path=/home/hamed1soleimani/working/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/binarised-model/reordering-table
> Distortion KENLM lazyken=0 name=LM0 factor=0
> path=/home/hamed1soleimani/lm/mizan.blm.en order=3
>  input-factors: 0
>  mapping: 0 T 0
>  threads: 4
>  weight: LexicalReordering0= 0.00461529 -0.00657824 0.0643977 0.0665969
> 0.0722116 0.117282 Distortion0= 0.0236595 LM0= 0.103723 WordPenalty0=
> -0.337574 PhrasePenalty0= 0.0164844 TranslationModel0= 0.00832724 0.0814982
> 0.0505655 0.0464867 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/binarised-model/phrase-table
> FeatureFunction: TranslationModel0 start: 3 end: 6
> line=input-factor=0 output-factor=0
> Exception: moses/FF/Factory.cpp:333 in void
> Moses::FeatureRegistry::Construct(const string&, const string&) threw
> UnknownFeatureException because `i == registry_.end()'.
> Feature name input-factor=0 is not registered.
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to