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 <[email protected] <mailto:[email protected]>> 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
    <[email protected]
    <mailto:[email protected]>> 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
        [email protected] <mailto:[email protected]>
        http://mailman.mit.edu/mailman/listinfo/moses-support




-- Hieu Hoang
    Research Associate
    University of Edinburgh
    http://www.hoang.co.uk/hieu




--
-Regards,
 Rajen Chatterjee.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to