Moses-support Digest, Vol 108, Issue 3

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. Multiple Language Model for training Baseline
(Sanjanashree Palanivel)
2. Re: Multiple Language Model for training Baseline (Rico Sennrich)
3. Problem with building Moses on Mint 17 (Ubuntu 14) (Helene Manis)
4. prune phrase table (Hieu Hoang)
5. Re: prune phrase table (Marcin Junczys-Dowmunt)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Oct 2015 11:19:21 +0530
From: Sanjanashree Palanivel <sanjanashree@gmail.com>
Subject: [Moses-support] Multiple Language Model for training Baseline
To: moses-support@mit.edu
Message-ID:
<CAAc_kp78qgKbNC7G0RDMYb3U_OmtC0CDEXEYSa+G6BkQ8ZZCuQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,

How to train the baseline system with multiple language model.
For instance, -lm 0:5:/path/to/LM/mono1binary:8 I know that 8 stands for
KENLM, But how to do for nplm. Any help would be appreciated.

--
Thanks and regards,

Sanjanasri J.P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151002/96a8c98f/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 2 Oct 2015 14:40:58 +0100
From: Rico Sennrich <rico.sennrich@gmx.ch>
Subject: Re: [Moses-support] Multiple Language Model for training
Baseline
To: moses-support@mit.edu
Message-ID: <560E896A.4090008@gmx.ch>
Content-Type: text/plain; charset="windows-1252"

Hi Sanjanasri,

you can edit the resulting moses.ini file manually to add your models,
or if you want to do it via command line argument, use the following
options of train-model.perl: '-config-add-feature-lines' and
'-config-add-weight-lines'. Unlike the '-lm' option, you have to provide
a string as it should appear in the moses.ini. The appropriate feature
line for NPLM is documented here:
http://www.statmt.org/moses/?n=FactoredTraining.BuildingLanguageModel#ntoc31

NeuralLM factor=<factor> order=<order> path=filename

best wishes,
Rico


On 02.10.2015 06:49, Sanjanashree Palanivel wrote:
> Dear all,
>
> How to train the baseline system with multiple language
> model. For instance, -lm 0:5:/path/to/LM/mono1binary:8 I know that 8
> stands for KENLM, But how to do for nplm. Any help would be appreciated.
>
> --
> Thanks and 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/20151002/3b075c5a/attachment-0001.html

------------------------------

Message: 3
Date: Fri, 2 Oct 2015 16:30:43 +0200
From: Helene Manis <manis.helene@gmail.com>
Subject: [Moses-support] Problem with building Moses on Mint 17
(Ubuntu 14)
To: moses-support@mit.edu
Message-ID:
<CAGSzgONF654opwKXZPsFcmwMxgDA5Bfb+mJWXddCOMgNjC2W1w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Good afternoon,

I followed the steps from
http://www.statmt.org/moses/?n=Development.GetStarted

including the installation of boost. Here is the exact command that I ran:

$ ./bjam --with-boost=~/boost_1_55_0 -j4

and

$ /usr/bin/bjam --help --debug-configuration -d2 |gzip >build.log.gz

to produce the error gz.

Following the message that I got on the command line 'The build failed. If
you need support....sending to the mailing list...' , I am sending you the
error that I got. I would be very grateful for any help/hint/advise.

Thank you,

Helene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151002/bee216fb/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.gz
Type: application/x-gzip
Size: 1921 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20151002/bee216fb/attachment-0001.gz

------------------------------

Message: 4
Date: Fri, 2 Oct 2015 16:35:49 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: [Moses-support] prune phrase table
To: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbiKbRCOyE1ogDZSKZyn2FimOKd9CxFA+FjKqfERuCJ-TQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I can't remember, but is there a script that prune the pt, keeping just the
best x rules, according to p(t|s) ?

Hieu Hoang
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151002/4e15e2de/attachment-0001.html

------------------------------

Message: 5
Date: Fri, 02 Oct 2015 17:43:01 +0200
From: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Subject: Re: [Moses-support] prune phrase table
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <f21d9858187e3cb3c72a024297e639bf@amu.edu.pl>
Content-Type: text/plain; charset="utf-8"



You can use filter-pt from contrib/sigtestfilter without the suffix
arrays, needs SALM to compile though. When you only specifg -n 100 it
will prune according to p(t|s)

W dniu 2015-10-02 17:35, Hieu Hoang napisa?(a):

> I can't remember, but is there a script that prune the pt, keeping just the best x rules, according to p(t|s) ?
>
> Hieu Hoang
> http://www.hoang.co.uk/hieu [2]
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support [1]



Links:
------
[1] http://mailman.mit.edu/mailman/listinfo/moses-support
[2] http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151002/051bc245/attachment.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 108, Issue 3
*********************************************

0 Response to "Moses-support Digest, Vol 108, Issue 3"

Post a Comment