Re: [Moses-support] StaticData distortion model format check

2010-02-11 Thread Andrew W. Haddad
> that's an annoying problem. I'm thinking of transitioning the ini file > to xml, then these issues will disappear. However, other things need > to be done before that can happen. Let me know when you do. I will be looking forward to it. > If you really need to use spaces, you might want to del

Re: [Moses-support] StaticData distortion model format check

2010-02-11 Thread Hieu Hoang
hey andrew that's an annoying problem. I'm thinking of transitioning the ini file to xml, then these issues will disappear. However, other things need to be done before that can happen. I assume you're working on the iphone implemtation. if u're on a unix desktop, you can creates softlink. O

[Moses-support] StaticData distortion model format check

2010-02-11 Thread Andrew Haddad
StaticData checks to make sure the number of entries under the parameter [distortion-file] by looking for spaces. vector spec = Tokenize(fileStr[f], " "); ++f; //mark file as consumed if(4 != spec.size()){ //wrong file specification string...

Re: [Moses-support] Build Moses for translating English to Chinese.

2010-02-11 Thread Miles Osborne
How words are tokenised / segmented etc is crucial when using "small" amounts of data. For the vast numbers of people using Moses (people not training-up on millions of sentence pairs) this is the kind of thing that needs to be done correctly. It would be a service to extend the Moses tokeniser t

Re: [Moses-support] Build Moses for translating English to Chinese.

2010-02-11 Thread Christof Pintaske
Hi, you may want to have a closer look at tokenizer.perl which is used for word-breaking. It seems there is some special logic to handle English, French, and Italian but nothing much else. I'm not sure if you can or plan to reveal your findings here on the list but at any rate I'd be very inte

[Moses-support] Error in Parameter

2010-02-11 Thread Andrew Haddad
The function ReadConfigFile will always return True... So this code will never be called: if (!ReadConfigFile(configPath)) { UserMessage::Add("Could not read "+configPath); return false; } Andrew___ Moses-support mailing list Moses-sup

Re: [Moses-support] MOSES installation: compilation error

2010-02-11 Thread Barry Haddow
Hi The compile error should be fixed now. Try updating to the latest svn version, regards Barry On Wednesday 10 February 2010 17:18, Zahurul Islam wrote: > Hi, > I tried to compile latest version (checked out from SVN) of MOSES in Mac > OSX, with following command: > $./configure --with-srilm=/

Re: [Moses-support] Build Moses for translating English to Chinese.

2010-02-11 Thread Christine de Bond
Hi, moses is language-independent. There is no need for adaptation. Best is to follow the "Step-by-Step Guide" on the moses website to get started. Regards, Christine nati g schrieb: > Hello, > Do we need any special scripts to build moses for translating english > to chinese. > > thanks in