Re: [Moses-support] speed up translation for one sentence on server

2018-01-15 Thread Manli Zhu
Thank you, Hieu! On Sun, Jan 14, 2018 at 12:03 PM, Hieu Hoang wrote: > > > Hieu Hoang > http://moses-smt.org/ > > > On 14 January 2018 at 15:11, Manli Zhu wrote: > >> Thank you, Hieu! I still have questions for your suggestion, could you >> answer my

Re: [Moses-support] speed up translation for one sentence on server

2018-01-14 Thread Hieu Hoang
Hieu Hoang http://moses-smt.org/ On 14 January 2018 at 17:03, Hieu Hoang wrote: > > > Hieu Hoang > http://moses-smt.org/ > > > On 14 January 2018 at 15:11, Manli Zhu wrote: > >> Thank you, Hieu! I still have questions for your suggestion, could you >>

Re: [Moses-support] speed up translation for one sentence on server

2018-01-14 Thread Manli Zhu
Thank you, Hieu! I still have questions for your suggestion, could you answer my question below? 1. moses will be slow for the 1stfew Sentences If client will submit one sentence at a time, will it always be slow? Is my lm and phrase table too big? 2. The server runs only 1 thread for each

Re: [Moses-support] speed up translation for one sentence on server

2018-01-14 Thread Hieu Hoang
1. moses will be slow for the 1st few sentences. You can make it faster by running http://www.statmt.org/moses/?n=Moses.Optimize#ntoc3 2. The server runs only 1 thread for each daemon, but it can handle multiple daemons at once. 3. If you want to use more than 16 cores, it's better to use

[Moses-support] speed up translation for one sentence on server

2018-01-13 Thread Manli Zhu
Hello, I built a FR-EN translator. binarised phrase-table.minphr : 13.9G binarized recorerig-table.minlexr 6.9G language model model.blm.en 17.1G I am using daemon.pl running as moses server. It successfully open the port and loaded the translation model and language mode. I can send