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: Editing Phrase table in SMT (Philipp Koehn)
2. Re: Editing Phrase table in SMT (Ulrich Germann)
----------------------------------------------------------------------
Message: 1
Date: Wed, 5 Aug 2015 10:03:55 -0400
From: Philipp Koehn <phi@jhu.edu>
Subject: Re: [Moses-support] Editing Phrase table in SMT
To: SANJANASRI JP <sanjanasrijp@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAAFADDDAu9BUhebAo07BVo2AeabdDbwWKjRwqFg2mcLo5pGqfg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
you can easily add numbers to the phrase table. From the decoder
perspective, these numbers do not have any specific meaning, they
are all treated the same way. Just make sure that the moses.ini file
reflects the correct number of features and weights.
Some of the phrase table binarizers also need to be called with the
number of features.
-phi
On Wed, Aug 5, 2015 at 5:36 AM, SANJANASRI JP <sanjanasrijp@gmail.com>
wrote:
> Dear all,
>
> I am newbie to SMT. My doubt is, how can I edit the phrase table
> features. In brief, If i wish to add more features to phrase table
> manually, I am getting an error stating "num feature(5!=4) " since 4 seems
> to be default feature in moses.ini file. even when i try to edit
> num-feature=5 in moses file. I am getting an error. I dunno where to refer
> all these. Please help. what i should do actually. Where I am being worng.
> I would be really happy If i can get an earnest reply
>
> Regards,
>
> SANJANASRI J.P
>
> _______________________________________________
> 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/20150805/fde8b581/attachment-0001.htm
------------------------------
Message: 2
Date: Wed, 5 Aug 2015 16:47:15 +0100
From: Ulrich Germann <ulrich.germann@gmail.com>
Subject: Re: [Moses-support] Editing Phrase table in SMT
To: Philipp Koehn <phi@jhu.edu>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>, SANJANASRI JP
<sanjanasrijp@gmail.com>
Message-ID:
<CAHQSRUoXZ85PpsmNcd1GzFokRM_a5Zqd4VN8bnGk1anvSHwbYA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
If you use a recent version of Moses, specifying the number of features in
the moses.ini file should not be necessary. The number of weights must
match, but if you run moses --show-weights -f moses.ini on an "empty" (no
weights) moses.ini file, moses supplies the right number of weights,
defaulting to 1.0.
- Uli
On Wed, Aug 5, 2015 at 3:03 PM, Philipp Koehn <phi@jhu.edu> wrote:
> Hi,
>
> you can easily add numbers to the phrase table. From the decoder
> perspective, these numbers do not have any specific meaning, they
> are all treated the same way. Just make sure that the moses.ini file
> reflects the correct number of features and weights.
>
> Some of the phrase table binarizers also need to be called with the
> number of features.
>
> -phi
>
> On Wed, Aug 5, 2015 at 5:36 AM, SANJANASRI JP <sanjanasrijp@gmail.com>
> wrote:
>
>> Dear all,
>>
>> I am newbie to SMT. My doubt is, how can I edit the phrase table
>> features. In brief, If i wish to add more features to phrase table
>> manually, I am getting an error stating "num feature(5!=4) " since 4 seems
>> to be default feature in moses.ini file. even when i try to edit
>> num-feature=5 in moses file. I am getting an error. I dunno where to refer
>> all these. Please help. what i should do actually. Where I am being worng.
>> I would be really happy If i can get an earnest reply
>>
>> Regards,
>>
>> SANJANASRI J.P
>>
>> _______________________________________________
>> 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
>
>
--
Ulrich Germann
Senior Researcher
School of Informatics
University of Edinburgh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150805/d018eb62/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 106, Issue 12
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 106, Issue 12"
Post a Comment