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: ConstrainedDecoding error (f.fancellu)
2. Re: ConstrainedDecoding error (Barry Haddow)
3. using LRscore instead of BLUE (Arefeh Kazemi)
----------------------------------------------------------------------
Message: 1
Date: Wed, 7 Jan 2015 13:52:27 +0000
From: "f.fancellu" <astromantic3@gmail.com>
Subject: Re: [Moses-support] ConstrainedDecoding error
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support@mit.edu
Message-ID:
<CA+UU_Vk9H6dasaH0Xn1_S-ouccuBeduojE3q4jbkW7nYnzNZ_g@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I specified the full path to the reference file but I am still getting the
same error.
Is there any particular format/encoding that the reference file should be
in?
*Federico Fancellu*
*Research Assistant @ CNGL*
*Trinity College, Dublin*
*ffancellu@cngl.ie <ffancellu@cngl.ie>*
2014-12-24 18:03 GMT+00:00 Hieu Hoang <hieuhoang@gmail.com>:
> specify the absolute, full path to the reference file
>
>
> On 24/12/14 22:13, f.fancellu wrote:
>
> Hi,
>
> I have the get the following error when applying the ConstrainedDecoding
> feature in my Config file (attached to the present mail).
>
> Exception: moses/FF/ConstrainedDecoding.cpp:66 in virtual void
> Moses::ConstrainedDecoding::Load() threw util::Exception'.
>
> Reference file not loaded
>
> I don't understand why this is happening. The path inserted is correct
> (file in the same folder).
>
> The command I run is:
>
> ~/mosesdecoder/bin/moses_chart -drop-unknown -threads 12 -f
> nist08.filtered.ini.13.v2 -T ../traces/nist_08.neg_ref.trace -osg
> ../graphs/nist_08.neg_ref.graph < ../doc/nist_08.src > ../trans/output_fd
>
> Cheers!
>
> F.
>
>
> _______________________________________________
> Moses-support mailing listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150107/8713a6b8/attachment-0001.htm
------------------------------
Message: 2
Date: Wed, 07 Jan 2015 14:14:32 +0000
From: Barry Haddow <bhaddow@staffmail.ed.ac.uk>
Subject: Re: [Moses-support] ConstrainedDecoding error
To: "f.fancellu" <astromantic3@gmail.com>, Hieu Hoang
<hieuhoang@gmail.com>
Cc: moses-support@mit.edu
Message-ID: <54AD3F48.4000109@staffmail.ed.ac.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Federico
Have a look at the Load() method in moses/FF/ConstrainedDecoding.cpp. It
seems that each line of the reference file should either contain a
reference, or a sentence id and reference (tab separated). If there are
blank lines are more than one tab, it will crash.
If you can't see what's wrong with your reference file, then add some
code to print out the offending line,
cheers - Barry
On 07/01/15 13:52, f.fancellu wrote:
> I specified the full path to the reference file but I am still getting
> the same error.
> Is there any particular format/encoding that the reference file should
> be in?
>
> *Federico Fancellu*
> /Research Assistant @ CNGL/
> /Trinity College, Dublin/
> /ffancellu@cngl.ie <mailto:ffancellu@cngl.ie>/
>
> 2014-12-24 18:03 GMT+00:00 Hieu Hoang <hieuhoang@gmail.com
> <mailto:hieuhoang@gmail.com>>:
>
> specify the absolute, full path to the reference file
>
>
> On 24/12/14 22:13, f.fancellu wrote:
>> Hi,
>>
>> I have the get the following error when applying the
>> ConstrainedDecoding feature in my Config file (attached to the
>> present mail).
>>
>> Exception: moses/FF/ConstrainedDecoding.cpp:66 in virtual void
>> Moses::ConstrainedDecoding::Load() threw util::Exception'.
>>
>> Reference file not loaded
>>
>> I don't understand why this is happening. The path inserted is
>> correct (file in the same folder).
>>
>> The command I run is:
>>
>> ~/mosesdecoder/bin/moses_chart -drop-unknown -threads 12 -f
>> nist08.filtered.ini.13.v2 -T ../traces/nist_08.neg_ref.trace -osg
>> ../graphs/nist_08.neg_ref.graph < ../doc/nist_08.src >
>> ../trans/output_fd
>>
>> Cheers!
>>
>> F.
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> _______________________________________________
> 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.
------------------------------
Message: 3
Date: Wed, 7 Jan 2015 14:14:35 +0000 (UTC)
From: Arefeh Kazemi <arefeh_kazemi@yahoo.com>
Subject: [Moses-support] using LRscore instead of BLUE
To: Moses-support <moses-support@mit.edu>
Message-ID:
<1968512611.3468376.1420640075715.JavaMail.yahoo@jws100159.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="utf-8"
Hi
I want to use mert with LRscore instead of blue (to tune a reordering model). Is there any straightforward way to do that? Is it integrated into moses or not?I found?this topic in the archive but I couldn't find the code.?
RegardsArefeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150107/e08e1837/attachment-0001.htm
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 99, Issue 15
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 99, Issue 15"
Post a Comment