No clue; never tried.

I'm guessing this is more a generic Cygwin/Java mismatch than a Moses-specific 
issue, so try looking for that error message on your favorite search engine.
~amittai

From: Rasha R [mailto:[email protected]]
Sent: Monday, September 12, 2011 1:01 AM
To: Amittai Axelrod
Cc: [email protected]
Subject: Re: [Moses-support] Run Moses with cygwin from windows cmd

thanks for your answer
it is working under Cygwin
but it is a project for NLP study at collage
and  i need to make a user interface for it and call moses inside it
i use java and my OS is windows XP
so lets make the question like that
how can i call cygwin moses from windows java code.

On Mon, Sep 12, 2011 at 5:49 AM, Amittai Axelrod 
<[email protected]<mailto:[email protected]>> wrote:
If you have Moses installed & working correctly under Cygwin, then just run it 
from Cygwin.

If it turns out that you do not have Moses installed & working correctly under 
Cygwin, or have not installed all the necessary packages in Cygwin, then check 
out the handy-dandy guide:
http://ssli.ee.washington.edu/people/amittai/Moses-on-Win7.pdf

(which is already in need of an update, but hey, it still works)
~amittai

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On 
Behalf Of Rasha R
Sent: Saturday, September 10, 2011 2:20 PM
To: [email protected]<mailto:[email protected]>
Subject: [Moses-support] Run Moses with cygwin from windows cmd

Hi All
Can you help me with that
I want to run moses which is installed and working correctly under cygwin
from windows command line cmd
first i am running moses under cygwin with this
/home/<USERNAME>/moses/moses-cmd/src/moses -config 
/home/<USERNAME>/work/evaluation/filtered/moses.ini -input-file 
/cygdrive/d/Data.ar 1> /cygdrive/d/Eval.tuned-filtered.output 2> 
/cygdrive/d/tuned-filtered.decode.out &

i do some research on internet and and i  found this wayto run cygwin from cmd 
i try to test it with file which print Hello World and it is working
c:\cygwin\bin\bash -c "/home/<USERNAME>/TEST.sh"
when i try the same command with the previous moses call like that
I got this error in the tuned-filtered.decode.out file
/home/<USERNAME>/moses/moses-cmd/src/moses.exe: error while loading shared 
libraries: ?: cannot open shared object file: No such file or directory
can you help me please
thanks

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

Reply via email to