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: how to import and compile Moses in Eclipse (Hieu Hoang)
2. Re: How to convert new moses.ini format of to old format
(Hieu Hoang)
3. Re: How to convert new moses.ini format of to old format
(Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Dec 2013 15:40:24 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] how to import and compile Moses in
Eclipse
To: Li Xiang <lixiang.ict@gmail.com>, moses-support
<moses-support@mit.edu>
Message-ID: <52B464E8.1070307@gmail.com>
Content-Type: text/plain; charset="utf-8"
I've add some notes to use Eclipse with Moses here
http://www.statmt.org/moses/?n=Development.GetStarted
On 20/12/2013 09:51, Li Xiang wrote:
> It is very strange. I am sure these files exist in the util folder.
>
>
>
>
> 2013/12/20 Li Xiang <lixiang.ict@gmail.com <mailto:lixiang.ict@gmail.com>>
>
> Hi,
>
> I just installed Eclipse CDT on Windows OS. And I also finish to
> configure g++, make and Boost environment. I succeeded to test a
> case using Boost on Eclipse.
> But I can not compile Moses in Eclipse. I find you use Eclipse on
> the YouTube video. Could you tell how to use Moses in Eclipse?
> Thank you.
>
> --
> Xiang Li
>
>
>
>
> --
> Xiang Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20131220/a8df82a0/attachment-0001.htm
------------------------------
Message: 2
Date: Fri, 20 Dec 2013 15:53:55 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] How to convert new moses.ini format of to
old format
To: Rajen Chatterjee <rajen.k.chatterjee@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <52B46813.2040006@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
from the line number, that's likely that there is a [ character in your
phrase table. Moses interprete words with [ ] as non-terminals.
You should escape these characters. Moses' tokenizer converts
[ --> [
] --> ]
On 20/12/2013 05:49, Rajen Chatterjee wrote:
> I am getting this error during decoding using the new moses:
>
> Start loading text SCFG phrase table. Moses format : [34.000] seconds
> Reading
> /home/rajen/Public/SMT/experiments/acl-14-TAG/results/pb-cross-valid/en-kK1/moses_data/model/phrase-table.gz
> ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
> ***************Check nextPos != string::npos failed in
> moses/Phrase.cpp:214
>
>
> So I thought let me try decoding using old mosesdecoder
>
>
> On Thu, Dec 19, 2013 at 5:31 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk
> <mailto:Hieu.Hoang@ed.ac.uk>> wrote:
>
> There's no script to do that.
>
> Is there a reason you need to use the old decoder?
>
>
> On 19 December 2013 16:40, Rajen Chatterjee
> <rajen.k.chatterjee@gmail.com
> <mailto:rajen.k.chatterjee@gmail.com>> wrote:
>
> Hello,
> There is a script
> "scripts/training/convert-moses-ini-to-v2.perl" which converts
> an old format of moses.ini to new format, but I want vice
> versa i.e. from new format to old format. How can I achieve this?
>
>
> --
> -Regards,
> Rajen Chatterjee.
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
>
>
> --
> -Regards,
> Rajen Chatterjee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20131220/28396f8c/attachment-0001.htm
------------------------------
Message: 3
Date: Fri, 20 Dec 2013 15:54:45 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] How to convert new moses.ini format of to
old format
To: Rajen Chatterjee <rajen.k.chatterjee@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <52B46845.9070200@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
from the line number, that's likely that there is a [ character in your
phrase table. Moses interpret words with [ ] as non-terminals.
I think the error would happen whatever version of Moses you are using.
You should escape these characters. Moses' tokenizer converts
[ --> [
] --> ]
On 20/12/2013 05:49, Rajen Chatterjee wrote:
> I am getting this error during decoding using the new moses:
>
> Start loading text SCFG phrase table. Moses format : [34.000] seconds
> Reading
> /home/rajen/Public/SMT/experiments/acl-14-TAG/results/pb-cross-valid/en-kK1/moses_data/model/phrase-table.gz
> ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
> ***************Check nextPos != string::npos failed in
> moses/Phrase.cpp:214
>
>
> So I thought let me try decoding using old mosesdecoder
>
>
> On Thu, Dec 19, 2013 at 5:31 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk
> <mailto:Hieu.Hoang@ed.ac.uk>> wrote:
>
> There's no script to do that.
>
> Is there a reason you need to use the old decoder?
>
>
> On 19 December 2013 16:40, Rajen Chatterjee
> <rajen.k.chatterjee@gmail.com
> <mailto:rajen.k.chatterjee@gmail.com>> wrote:
>
> Hello,
> There is a script
> "scripts/training/convert-moses-ini-to-v2.perl" which converts
> an old format of moses.ini to new format, but I want vice
> versa i.e. from new format to old format. How can I achieve this?
>
>
> --
> -Regards,
> Rajen Chatterjee.
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
>
>
> --
> -Regards,
> Rajen Chatterjee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20131220/36c28352/attachment.htm
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 86, Issue 58
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 86, Issue 58"
Post a Comment