Hey Matthias,
I have checked my training data and there are no such characters in it.


On Sat, May 24, 2014 at 10:33 PM, Matthias Huck <[email protected]> wrote:

> Hi Nishkarsh,
>
> I guess it might be a preprocessing problem. Phrase::CreateFromString
> throws an exception:
>
> > Exception: moses/Phrase.cpp:214 in void
> Moses::Phrase::CreateFromString(Moses::FactorDirection, const
> std::vector<long unsigned int, std::allocator<long unsigned int> >&, const
> StringPiece&, const StringPiece&, Moses::Word**) threw util::Exception
> because `nextPos == string::npos'.
> > Incorrect formatting of non-terminal. Should have 2 non-terms, eg.
> [X][X]. Current string: [MSRTC]
>
> Did you use a custom preprocessing pipeline? Try to remove all square
> brackets from your training data (i.e. the characters "[" and "]"), or
> replace them with something else.
> If you're using the preprocessing scripts provided with Moses, they
> should take care of replacing special characters for you
>
> Cheers,
> Matthias
>
>
> On Sat, 2014-05-24 at 11:42 +0530, Nishkarsh Shastri wrote:
> > Sir,
> >
> > I am getting the Tuning Crashed error while setting up the moses in my
> > PC
> >
> > I am attaching the actual error, error log and moses.ini along with
> > the mail.
> >
> > Please see to it.
> >
> > --
> > Nishkarsh Shastri
> > 2nd year U/G
> > Dept. of Computer Science and Engineering
> > IIT Kharagpur
> > _______________________________________________
> > Moses-support mailing list
> > [email protected]
> > http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>


-- 
Nishkarsh Shastri
2nd year U/G
Dept. of Computer Science and Engineering
IIT Kharagpur
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to