maybe try the code in contrib/server/Translation-web
On 19 March 2014 17:04, Vishal Goyal(विशाल गोयल) <[email protected]>wrote: > Thanks for kind reply. > Then kindly suggest how can we make the web translation reality? Which new > we need to use... > > > > On Wed, Mar 19, 2014 at 2:07 PM, Barry Haddow > <[email protected]>wrote: > >> Hi Vishal >> >> The web translation components that you mention are quite old and haven't >> been used much in a while. >> >> As far as I can see, the main problem is that the translate.cgi expects >> to have many copies of the daemon.pl running, all listening on different >> ports. Each one should wrap a different instance of Moses. So this web >> translation system is not multi-threaded (it was written before Moses had >> threads) it's multi-process, >> >> cheers - Barry >> >> >> On 18/03/14 15:02, Vishal Goyal(विशाल गोयल) wrote: >> >>> Respected All, >>> Greetings >>> >>> We have installed the moses server and web server on a single machine on >>> linux platform. when tested on the local host the system work fine, when we >>> installed the system on web server for public use. The system some work >>> fine but most of the we are not getting the translation of the input text >>> instead the input text is transliterated in the post processing script >>> written in transliterate.pl <http://transliterate.pl>. >>> >>> Moses server is running as daemon.pl <http://daemon.pl>. The index.cgi >>> is being used to take user input and translate.cgi start the moses thread >>> for tranlation. >>> >>> >>> When error log is inspected it show that only one thread of moses is >>> running and all other threads are terminated with the error message (error >>> log attached.) >>> >>> Please also find the attached source code of daemon.pl <http://daemon.pl>, >>> index.cgi and translate.cgi >>> >>> >>> >>> -- >>> *Regards,* >>> >>> Vishal Goyal, >>> Ph.D., M.Tech., MCA, M.C.S.D. >>> Assistant Professor(Stage III) and Placement Coordinator, >>> Department of Computer Science, >>> Punjabi University Patiala-147002 >>> [*Online Hindi to Punjabi Machine Translation Tool -* >>> http://h2p.learnpunjabi.org ] >>> *[Research Cell: An International Journal of Engineering Sciences, >>> http://ijoes.vidyapublications.com]* >>> >>> >>> >>> >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] >>> http://mailman.mit.edu/mailman/listinfo/moses-support >>> >> >> >> -- >> The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336. >> >> > > > -- > *Regards,* > Vishal Goyal, > Ph.D., M.Tech., MCA, M.C.S.D. > Assistant Professor(Stage III) and Placement Coordinator, > Department of Computer Science, > Punjabi University Patiala-147002 > [*Online Hindi to Punjabi Machine Translation Tool -* > http://h2p.learnpunjabi.org ] > *[Research Cell: An International Journal of Engineering Sciences, > http://ijoes.vidyapublications.com <http://ijoes.vidyapublications.com>]* > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
