Hi Xinghua,
You can refer to the introduction about the Web translation in the Moses 
manual. In this introduction, there is a demon.pl script, which will active the 
moses server with different port numbers. I think if you want to translate 
different language pairs you can set the different port number, for instance, 
you can set Enlgish-Chinese as 1025, Chinese-English to 1026 asn so on. What 
you should do is transfer the parameter from the client to the moses server 
which decoder it will call. I have written one similar function to only 
translate the English-Chinese pairs, you can refer to the source code and add 
more language pairs with similar ideas, 
https://github.com/moses-smt/mosesdecoder/tree/master/contrib. And the iSenWeb 
is the package. Hope it can give you some idea.

------------------------------------------------------------------------------------------------------------------------------------
Name: Liang Tian (田亮)
Lab: Natural Language Processing& Portuguese Chinese Machine Translation 
Laboratory
          (澳门大学中葡机器翻译实验室NLP2CT)
Email: [email protected]
Phone: (853)62059782
              (+86)18676421801
------------------------------------------------------------------------------------------------------------------------------------
 

________________________________
 发件人: dongxinghua0213 <[email protected]>
收件人: Hieu Hoang <[email protected]>; Philipp Koehn 
<[email protected]>; moses-support <[email protected]> 
发送日期: 2012年7月14日, 星期六, 下午 4:47
主题: [Moses-support] the argument for Multiple Translation Systems in the Same 
Server?
  

hi, 

in  moses manual,  it involves  Using Multiple Translation Systems in the Same 
Server: 
The moses server is now able to load multiple translation systems within the 
same server,and the client is able to decide which translation system that the 
server should use, on a persentencebasis. The client does this by passing a 
system argument in the translate operation. 

but how can I set the  argument?  Can moses do it or must I set the argument 
manually ? 

        best regards  !


_______________________________________________
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