Hi,

check line 191 of you tuning input.

Does it contain the character "|"?
Does it have any leading or trailing spaces?

-phi

On Sat, Apr 16, 2011 at 6:53 PM, Cyrine NASRI <[email protected]> wrote:
> Good evening,
> I have a weird message that appears when I run the MERT:
>
> Use of uninitialized value within @WORD_FACTOR in concatenation (.) or
> string at
> /home/cyrine/Desktop/moses13Janvier/moses-scripts/scripts-20110114-0915/training/filter-model-given-input.pl
> line 191, <INPUT> line 294.
> Use of uninitialized value within @WORD_FACTOR in concatenation (.) or
> string at
> /home/cyrine/Desktop/moses13Janvier/moses-scripts/scripts-20110114-0915/training/filter-model-given-input.pl
> line 191, <INPUT> line 294
>
> I do not know the cause of the error:
> That is below my file moses.in :
>
>
> #########################
> ### MOSES CONFIG FILE ###
> #########################
> [ttable-threshold]
> 0
> # input factors
> [input-factors]
> 0
>
> # mapping steps
> [mapping]
> T 0
>
> # translation tables: table type (hierarchical(0), textual (0), binary (1)),
> source-factors, target-factors, number of scores, file
> # OLD FORMAT is still handled for back-compatibility
> # OLD FORMAT translation tables: source-factors, target-factors, number of
> scores, file
> # OLD FORMAT a binary table type (1) is assumed
> [ttable-file]
> 0 0 0 3 /home/cyrine/Desktop/Formattage32/TT1en+2en2fr-20-New
>
> # no generation models, no generation-file section
>
> # language models: type(srilm/irstlm), factors, order, file
> [lmodel-file]
> 0 0 3 /home/cyrine/tools/work/lm/francais3g.BO
>
>
> # limit on how many phrase translations e for each phrase f are loaded
> # 0 = all elements loaded
> [ttable-limit]
> 100
>
> # distortion (reordering) files
> [distortion-file]
> 0-0 wbe-msd-bidirectional-fe-allff 6
> /home/cyrine/Desktop/moses13Janvier/moses-scripts/scripts-20110114-0915/training/work/model/reordering-table.wbe-msd-bidirectional-fe.gz
>
> # distortion (reordering) weight
> [weight-d]
> 0.3
> 0.3
> 0.3
> 0.3
> 0.3
> 0.3
> 0.3
>
> # language model weights
> [weight-l]
> 0.5000
>
>
> # translation model weights
> [weight-t]
> 0.2
> 0.2
> 0.2
>
>
> # no generation models, no weight-generation section
>
> # word penalty
> [weight-w]
> -1
>
>
>
> Any idea please?
> Thanks
>
> Bests
>
> --
> Cyrine
> Ph.D. Student in Computer Science
>
> _______________________________________________
> 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