Re: [Moses-support] Specifying paths on CLI

2017-06-29 Thread Hieu Hoang
You can use relative paths but it's always relative to the current directory, not the directory of moses.ini Hieu Hoang http://moses-smt.org/ On 29 June 2017 at 14:32, Dingyuan Wang wrote: > It's possible to use relative paths in moses.ini if moses binary is called > in

Re: [Moses-support] Specifying paths on CLI

2017-06-29 Thread Dingyuan Wang
It's possible to use relative paths in moses.ini if moses binary is called in the correct cwd. 2017年6月29日 下午9:09,"liling tan" 寫道: > Awesome, thanks Hieu!! > > On 29 Jun 2017 8:20 p.m., "Hieu Hoang" wrote: > >> ./moses -feature-overwrite

Re: [Moses-support] Specifying paths on CLI

2017-06-29 Thread Hieu Hoang
./moses -feature-overwrite "TranslationModel0 path=/home/someoneelse/anotherpath/phrasemodel/work.src-trg/training/model/phrase-table.gz" -f moses.ini < input.txt > output.txt Hieu Hoang http://moses-smt.org/ On 29 June 2017 at 10:44, liling tan wrote: > Dear Moses

[Moses-support] Specifying paths on CLI

2017-06-29 Thread liling tan
Dear Moses community, When decoding, it's easy to use the moses.ini if the paths are fixed. But if the model has to be moved around different machines / users, it's a little messy to replace the paths to the correct ones. Is it possible to set the paths in moses.ini when calling the moses binary