Thanks Barry Now, i am getting the following errors in the log:
Exec format error: exec of '/usr/lib/cgi-bin/index.js' failed Premature end of script headers: index.js translate.cgi: Can't exec "/home/vineet/Desktop/scripts-2008/scripts": Permission denied at /usr/share/perl/5.10/IPC/Open3.pm line 168. translate.cgi: open2: exec of /home/vineet/Desktop/scripts-2008/scripts -l fr failed at lib/Subprocess.pm line 38 thread 1 translate.cgi: Thread 1 terminated abnormally: Can't connect to localhost:9001 at lib/RemoteProcess.pm line 40. I dont want to do any toke../detok.. All i want is to translate simple sentences from the client side. Is there a simple way of just translating sentences rather than a webpage? This is happening because of the html file that i have written to translate: <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Simple HTML File</title> </head> <body> mera naam // this is what i want to translate </body> </html> As you can see what i want to translate is inside the body and the absolute location of this is what i enter inside the box when i run index.cgi But i want the client(user) to have control over the sentences that they wish to translate. Thanks Vineet _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
