Re: [joshua-support] Exception in thread "main" java.io.FileNotFoundException: example/example.config.srilm (No such file

75 views
Skip to first unread message

Chenggang Mi

unread,
May 29, 2013, 9:49:23 AM5/29/13
to joshua_...@googlegroups.com
Hi, you should check your working directory.

chenggang mi

 


2013/5/29 anju sathyan <anjusa...@gmail.com>
i'm installing joshua decoder.now its ends up with BULID SUCCESFUL .
Problem is while i translate the test set by running 

ava -Xmx1g -cp $JOSHUA/bin \
	-Djava.library.path=$JOSHUA/lib \
	-Dfile.encoding=utf8 joshua.decoder.JoshuaDecoder \
	example/example.config.srilm \
	example/example.test.in \
	example/example.nbest.srilm.out
showing that error that 
"Exception in thread "main" java.io.FileNotFoundException: 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)
Can you help me waht should i do for the correction.??

--
You received this message because you are subscribed to the Google Groups "Joshua Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joshua_suppor...@googlegroups.com.
To post to this group, send email to joshua_...@googlegroups.com.
Visit this group at http://groups.google.com/group/joshua_support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matt Post

unread,
May 29, 2013, 10:09:29 AM5/29/13
to joshua_...@googlegroups.com
Yes -- You are passing a path example/example.config.srilm, which doesn't exist.

But actually, that example invocation is very outdated. Where did you obtain it?

matt
Reply all
Reply to author
Forward
0 new messages