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: threshold-filter.perl - legacy mode (Philipp Koehn)
2. Re: decoding-graph-backoff (Saumitra Yadav)
----------------------------------------------------------------------
Message: 1
Date: Wed, 29 Jul 2015 10:46:39 -0400
From: Philipp Koehn <phi@jhu.edu>
Subject: Re: [Moses-support] threshold-filter.perl - legacy mode
To: Martin Baumg?rtner <martin.baumgaertner@star-group.net>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAAFADDDuyBziWQwK-PqPEEFCZfSQySzziwM_wCexmc8WgGnAPA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
that's correct - I fixed the bug.
-phi
On Wed, Jul 29, 2015 at 6:06 AM, Martin Baumg?rtner <
martin.baumgaertner@star-group.net> wrote:
> Hi all,
>
> just noticed the following error (one for each line!!) when using the
> script threshold-filter.perl for pruning the phrase table:
>
> Use of uninitialized value $MIN_SCORE{"2"} in numeric lt (<) at
> threshold-filter.perl line 36, <STDIN> line 399.
>
> Then I found the following script code:
>
> my %MIN_SCORE;
> # legacy: same threshold for direct and indirect phrase translation
> probabilities
> if ($ARGV[0] =~ /^[\d\.]+$/) {
> $MIN_SCORE{0} = $ARGV[0];
> $MIN_SCORE{2} = $ARGV[2];
> }
>
> Shouldn't $MIN_SCORE{2} not be equal to $ARGV[0] for legacy?
>
> Kind regards,
> Martin
>
> --
>
>
> *STAR Group* <http://www.star-group.net>
> <http://www.star-group.net/>
> *Martin Baumg?rtner*
> STAR Language Technology & Solutions GmbH Umberto-Nobile-Stra?e 19
> | 71063 Sindelfingen | Germany Tel. +49 70 31-4 10 92-0
> martin.baumgaertner@star-group.net Fax +49 70 31-4 10 92-70
> www.star-group.net Gesch?ftsf?hrer: Oliver Rau, Bernd Barth
> Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677
>
>
>
> _______________________________________________
> 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/20150729/e9061f27/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dajgjifc.gif
Type: image/gif
Size: 8030 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20150729/e9061f27/attachment-0001.gif
------------------------------
Message: 2
Date: Wed, 29 Jul 2015 20:21:06 +0530
From: Saumitra Yadav <yadav.saumitra07@gmail.com>
Subject: Re: [Moses-support] decoding-graph-backoff
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAPeFGXYRELiW46F2XJCr8iz2KU2fWq_gp7PwG-azn9cJXRRPvQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Sir,
Is there a command or argument which can tell, which phrase in output is
taken from which phrase-table (incase we have multiple phrase-tables )?
Regards,
Saumitra Yadav
M.Tech.
Department Of Computer Science And Technology
Goa University
On Sun, Jul 26, 2015 at 11:49 AM, Hieu Hoang <hieuhoang@gmail.com> wrote:
> since you have 3 phrase-tables, you may have to have 3 entries in the
> [decoding-graph-backoff] section, eg
> [decoding-graph-backoff]
> 0
> 3
> 3
>
>
> Hieu Hoang
> Researcher
> New York University, Abu Dhabi
> http://www.hoang.co.uk/hieu
>
> On 25 July 2015 at 20:23, Saumitra Yadav <yadav.saumitra07@gmail.com>
> wrote:
>
>> Sir,
>> Please find attached , moses.ini file i used and command used
>> was ~/Decoder/mosesdecoder/bin/moses -f moses.ini
>>
>> Regards,
>> Saumitra Yadav
>> M.Tech.
>> Department Of Computer Science And Technology
>> Goa University
>>
>>
>> On Sat, Jul 25, 2015 at 9:21 PM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>>
>>> can you please send me the moses.ini file that you used, that cause the
>>> segfault. And send me the exact command you typed
>>>
>>>
>>> On 24/07/2015 14:40, Saumitra Yadav wrote:
>>>
>>> But sir when i did that there was * segmentation fault* while loading
>>> first phrase-table, one walk around i got was giving phrase-table
>>> uncompressed to decoder.
>>>
>>> Regards,
>>> Saumitra Yadav
>>> M.Tech.
>>> Department Of Computer Science And Technology
>>> Goa University
>>>
>>>
>>> On Thu, Jul 23, 2015 at 8:06 PM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>>>
>>>> i think you have to swap the phrase tables around. The decoder always
>>>> looks at the 1st phrase-table, then backoff to the 2nd if nothing is found
>>>>
>>>>
>>>> On 22/07/2015 16:59, Saumitra Yadav wrote:
>>>>
>>>> Sir/Ma'am,
>>>> I'm trying to use multiple phrase tables for translation in Moses
>>>> decoder, with preference to 1st phrase-table, but was getting a
>>>> segmentation fault while loading 1st phrase table, so just switched the
>>>> positions of phrase-tables in moses configuration file and it was working ,
>>>> now the table i want to give preference is 2nd in list , can i use
>>>>
>>>> [decoding-graph-backoff]
>>>> 1
>>>> 3
>>>> in configuration file for backoff so that moses uses 2nd table and
>>>> uses 1st table only for words it couldn't find in 2nd phrase-table?
>>>>
>>>> Regards,
>>>> Saumitra Yadav
>>>> M.Tech.
>>>> Department Of Computer Science And Technology
>>>> Goa University
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moses-support mailing listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>>>>
>>>>
>>>> --
>>>> Hieu Hoang
>>>> Researcher
>>>> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>>>>
>>>>
>>>
>>> --
>>> Hieu Hoang
>>> Researcher
>>> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150729/4c289855/attachment.htm
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 105, Issue 65
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 105, Issue 65"
Post a Comment