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. threshold-filter.perl - legacy mode (Martin Baumg?rtner)
2. Re: Generation step for factorized translation (Hieu Hoang)
3. Re: Generation step for factorized translation (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Wed, 29 Jul 2015 12:06:09 +0200
From: Martin Baumg?rtner <martin.baumgaertner@star-group.net>
Subject: [Moses-support] threshold-filter.perl - legacy mode
To: moses-support@mit.edu
Message-ID: <55B8A591.9070302@star-group.net>
Content-Type: text/plain; charset="utf-8"
Hi all,
just noticed the following error (one for each line!!) when using the
scriptthreshold-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
<mailto:martin.baumgaertner@star-group.net>
Fax +49 70 31-4 10 92-70 www.star-group.net <http://www.star-group.net/>
Gesch?ftsf?hrer: Oliver Rau, Bernd Barth
Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150729/34c9a93a/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/34c9a93a/attachment-0001.gif
------------------------------
Message: 2
Date: Wed, 29 Jul 2015 16:21:00 +0400
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Generation step for factorized
translation
To: Marco Damonte <mdtux89@gmail.com>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID: <55B8C52C.8070606@gmail.com>
Content-Type: text/plain; charset="windows-1252"
This is my setup the generates target words from stems
input-factors = word
output-factors = word stem suffix
alignment-factors = "word -> word"
translation-factors = "word -> stem"
reordering-factors = "word -> word"
generation-factors = "stem -> word"
decoding-steps = "t0, g0"
you're not likely to get anything useful generating words from brown
clusters - the mapping is just too general
On 28/07/2015 20:46, Marco Damonte wrote:
> Hi,
>
> I'm using EMS and factorized translation. For instance, I have this
> setting:
>
> input-factors = word
> output-factors = word brown50
> alignment-factors = "word -> word"
> translation-factors = "word -> word+brown50"
> generation-factors = "brown50"
> reordering-factors = "word -> word"
> decoding-steps = "t0"
>
> that is, I have brown clusters as an output factor.
>
> Does someone can point me the proper way to add a generation step to
> create the surface word using the cluster factor?
>
> I tried:
> generation-factors = "brown50 -> word"
> but the experiment crashed durinh tuning
>
> Thanks in advance
> Marco
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150729/9b1cbdce/attachment-0001.htm
------------------------------
Message: 3
Date: Wed, 29 Jul 2015 16:21:12 +0400
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Generation step for factorized
translation
To: Marco Damonte <mdtux89@gmail.com>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID: <55B8C538.5000306@gmail.com>
Content-Type: text/plain; charset="windows-1252"
This is my setup that generates target words from stems
input-factors = word
output-factors = word stem suffix
alignment-factors = "word -> word"
translation-factors = "word -> stem"
reordering-factors = "word -> word"
generation-factors = "stem -> word"
decoding-steps = "t0, g0"
you're not likely to get anything useful generating words from brown
clusters - the mapping is just too general
On 28/07/2015 20:46, Marco Damonte wrote:
> Hi,
>
> I'm using EMS and factorized translation. For instance, I have this
> setting:
>
> input-factors = word
> output-factors = word brown50
> alignment-factors = "word -> word"
> translation-factors = "word -> word+brown50"
> generation-factors = "brown50"
> reordering-factors = "word -> word"
> decoding-steps = "t0"
>
> that is, I have brown clusters as an output factor.
>
> Does someone can point me the proper way to add a generation step to
> create the surface word using the cluster factor?
>
> I tried:
> generation-factors = "brown50 -> word"
> but the experiment crashed durinh tuning
>
> Thanks in advance
> Marco
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150729/ccd60996/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 63
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 105, Issue 63"
Post a Comment