Re: [joshua-support] Regarding running the step by step guide

38 views
Skip to first unread message

Matt Post

unread,
Nov 25, 2012, 9:49:00 PM11/25/12
to joshua_...@googlegroups.com
Hi,

examples/example/example.nbest.srilm.out does not exist.

Chris' guide is somewhat outdated as it was written for an earlier version of Joshua.  You should checkout the documentation at joshua-decoder.org, or look in the examples directory, for information on how to proceed.  If you are trying to do something specific, you can also ask directly here.

matt


On Nov 23, 2012, at 4:51 AM, bibek....@gmail.com wrote:

That wasnt probably an error. Some mistyping in the command. But now i am getting a different error.
java -Xmx1g -cp $JOSHUA/bin -Djava.library.path=$JOSHUA/lib -Dfile.encoding=utf8 joshua.decoder.JoshuaDecoder examples/example/example.config.srilm examples/example/example.test.in examples/example/example.nbest.srilm.out

Error
Exception in thread "main" java.io.FileNotFoundException: examples/example/example.config.srilm (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at joshua.util.io.LineReader.getInputStream(LineReader.java:96)
at joshua.util.io.LineReader.<init>(LineReader.java:60)
at joshua.decoder.JoshuaConfiguration.readConfigFile(JoshuaConfiguration.java:186)
at joshua.decoder.JoshuaDecoder.main(JoshuaDecoder.java:559)

On Friday, 23 November 2012 15:10:42 UTC+5:30, bibek....@gmail.com wrote:
Hi,
I am trying to execute this 
java -Xmx1g -cp $JOSHUA/bin -Djava.library.path=$JOSHUA/lib -Dfile.encoding=utf8 joshua.decoder.JoshuaDecod[Ber example/example.config.srilm example/example.test.in example/example.nbest.srilm.out

as mentioned here
But i am getting error 

Exception in thread "main" java.lang.NoClassDefFoundError: joshua/decoder/JoshuaDecod[Ber
Caused by: java.lang.ClassNotFoundException: joshua.decoder.JoshuaDecod[Ber
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: joshua.decoder.JoshuaDecod[Ber. Program will exit.

--
You received this message because you are subscribed to the Google Groups "Joshua Technical Support" group.
To view this discussion on the web visit https://groups.google.com/d/msg/joshua_support/-/qZJ_P5QSJy0J.
To post to this group, send email to joshua_...@googlegroups.com.
To unsubscribe from this group, send email to joshua_suppor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joshua_support?hl=en.

Reply all
Reply to author
Forward
0 new messages