the paths will be relative to the current directory so you can write a wrapper around moses that does:
   cd [wherever]
   ..../moses -f .../moses.ini

however, this only works for the decoder. During training, you MUST use absolute paths. This is due to many of the perl functionality

On 20/12/2012 17:37, Adam Teichert wrote:
I have a moses.ini file checked into a repository that is used on multiple machines. All of the example moses.ini files that I've seen have all paths (for example, to language model and phrase-tables) hard-coded and absolute. I want to specify paths relative to a project root directory. Is there a canonical way of doing this?

  Thanks,

  --Adam



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

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

Reply via email to