Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Re: Decode error in EMS (Matthias Huck)
----------------------------------------------------------------------
Message: 1
Date: Tue, 27 May 2014 17:00:35 +0100
From: Matthias Huck <mhuck@inf.ed.ac.uk>
Subject: Re: [Moses-support] Decode error in EMS
To: Mauro Zanotti <mau.zanotti@gmail.com>
Cc: "moses-support@mit.edu support" <moses-support@mit.edu>
Message-ID: <1401206435.2309.1749.camel@portedgar>
Content-Type: text/plain; charset="UTF-8"
Hi Mauro,
The weights for LM1 and LM2 are missing in your config file. You need to
add them in the [weight] section.
# core weights
[weight]
Distortion0= 0.3
UnknownWordPenalty0= 1
WordPenalty0= -1
TranslationModel0= 0.2 0.2 0.2 0.2
PhrasePenalty0= 0.2
LexicalReordering0= 0.3 0.3 0.3 0.3 0.3 0.3
LM0= 0.2
LM1= 0.2
LM2= 0.2
Cheers,
Matthias
On Tue, 2014-05-27 at 17:36 +0200, Mauro Zanotti wrote:
> Dear all,
>
>
> I launched an experiment in ems, I created 3 lm and in the decode
> phase I get the following error (from EVALUATION_test_decode.2.STDERR
> file)
>
>
> line=Distortion
> line=IRSTLM name=LM0 factor=0
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/lm/toy.binlm.2 order=5
> line=IRSTLM name=LM1 factor=0
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/lm/nc.binlm.2 order=5
> Exception: moses/ScoreComponentCollection.cpp:242 in void
> Moses::ScoreComponentCollection::Assign(const Moses::FeatureFunction*,
> const std::vector<float>&) threw util::Exception'.
> Feature function LM1 specified 1 dense scores or weights. Actually has
> 0
>
>
> The full ini file generated is
>
>
> #########################
> ### MOSES CONFIG FILE ###
> #########################
>
>
> # input factors
> [input-factors]
> 0
>
>
> # mapping steps
> [mapping]
> 0 T 0
>
>
> [distortion-limit]
> 6
>
>
> # feature functions
> [feature]
> UnknownWordPenalty
> WordPenalty
> PhrasePenalty
> PhraseDictionaryBinary name=TranslationModel0 table-limit=20
> num-features=4
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/evaluation/test.filtered.2/phrase-table.0-0.1.1 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/user/opt/casmacat/moses/scripts/ems/example_002/evaluation/test.filtered.2/reordering-table.2.wbe-msd-bidirectional-fe
> Distortion
> IRSTLM name=LM0 factor=0
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/lm/toy.binlm.2 order=5
> IRSTLM name=LM1 factor=0
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/lm/nc.binlm.2 order=5
> IRSTLM name=LM2 factor=0
> path=/home/user/opt/casmacat/moses/scripts/ems/example_002/lm/europarl.binlm.2 order=5
>
>
> # core weights
> [weight]
> Distortion0= 0.3
> UnknownWordPenalty0= 1
> WordPenalty0= -1
> TranslationModel0= 0.2 0.2 0.2 0.2
> PhrasePenalty0= 0.2
> LexicalReordering0= 0.3 0.3 0.3 0.3 0.3 0.3
> LM0= 0.5
>
>
>
>
> Could someone help me?
>
>
> Thank you in advance
> Mauro
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 91, Issue 44
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 91, Issue 44"
Post a Comment