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: Moseserver "report-all-factors" marks all words as UNK
(Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Thu, 15 Jun 2017 14:27:52 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Moseserver "report-all-factors" marks all
words as UNK
To: "Etienne Monneret (LM)" <em@lingua-et-machina.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgcHCTVnMKTQePfhozaxN2pas1RGTu4OvqfFwheebdf9Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
thanks. Committed
https://github.com/moses-smt/mosesdecoder/commit/4b0560b5c9bd95d7c55cb0451e8947de0eee1d6d
* Looking for MT/NLP opportunities *
Hieu Hoang
http://moses-smt.org/
On 15 June 2017 at 14:07, Etienne Monneret (LM) <em@lingua-et-machina.com>
wrote:
> Manager.cpp
> OutputSurface(..)
>
> Replace :
>
> for (size_t i = 1 ; i < outputFactorOrder.size() ; i++) {
> const Factor *factor = phrase.GetFactor(pos, outputFactorOrder[i]);
> if (factor) out << fd << *factor;
> else out << fd << UNKNOWN_FACTOR;
> }
>
> By :
>
> for (size_t i = 1 ; i < outputFactorOrder.size() ; i++) {
> const Factor *factor = phrase.GetFactor(pos, outputFactorOrder[i]);
> if (factor) out << fd << *factor;
> // else out << fd << UNKNOWN_FACTOR;
> }
>
>
>
>
> Best regards,
>
> Etienne
>
>
> Le 07/06/2017 ? 17:23, Hieu Hoang a ?crit :
>
> there's probably a bug somewhere in the server code
>
> * Looking for MT/NLP opportunities *
> Hieu Hoang
> http://moses-smt.org/
>
>
> On 7 June 2017 at 11:02, Etienne Monneret (LM) <em@lingua-et-machina.com>
> wrote:
>
>> Hi !
>>
>> I just re-compiled a Moses server.
>>
>> Now, the "report-all-factors" option is marking all words as UNK:
>>
>> taking|UNK|UNK|UNK advantage|UNK|UNK|UNK of|UNK|UNK|UNK the|UNK|UNK|UNK
>> |0-1| mushrooms|UNK|UNK|UNK |2-2| relaxante|UNK|UNK|UNK |6-6|
>> is|UNK|UNK|UNK an|UNK|UNK|UNK activity|UNK|UNK|UNK |3-5| .|UNK|UNK|UNK
>> |7-7|
>>
>> This is only in the XML-RPC reply, because, in the mosesserver LOG, I
>> really get the good words marked as UNK:
>>
>> [moses/server/TranslationRequest.cpp:472] BEST TRANSLATION: taking
>> advantage of the mushrooms relaxante|UNK|UNK|UNK is an activity .
>> [11111111] [total=-108.208]
>> core=(-100.000,-10.000,5.000,-6.851,-16.168,-4.675,-21.479,-
>> 8.000,-60.608)
>>
>> Is there a new way to do this ?
>>
>> Best regards,
>>
>> Etienne
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170615/705d10a4/attachment-0001.html
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 128, Issue 20
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 128, Issue 20"
Post a Comment