[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
user:zeman:joshua [2009/06/01 21:25]
zeman Kompilace Joshuy.
user:zeman:joshua [2009/06/01 21:37]
zeman Na clusteru to nefunguje.
Line 29: Line 29:
 ant compile</code> ant compile</code>
  
 +Kdyby bylo potřeba v budoucnosti překompilovat Joshuu načisto, již zkompilované moduly se dají odstranit pomocí
 +
 +<code>ant clean</code>
 +
 +Otestujeme, že je Joshua funkční:
 +
 +<code>ant test
 +./example/decode_example_javalm.sh
 +./example/decode_example_srilm.sh</code>
 +
 +Joshuu jsem překládal na zenu. Teď je ještě potřeba otestovat, že funguje i na clusteru, třeba na počítači sol1. A ejhle, na 64 bitech přestala fungovat spolupráce se SRILM.
 +
 +<code>21:35 sol1:/ha/work/people/zeman/joshua> ./example/decode_example_srilm.sh
 +Jun 1, 2009 9:35:43 PM joshua.decoder.JoshuaConfiguration readConfigFile
 +INFO: you use a LM feature function, so make sure you have a LM grammar
 +Exception in thread "main" java.lang.UnsatisfiedLinkError: /ha/work/people/zeman/joshua/lib/libsrilm.so: /ha/work/people/zeman/joshua/lib/libsrilm.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
 +        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 +        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
 +        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1692)
 +        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
 +        at java.lang.System.loadLibrary(System.java:1047)
 +        at joshua.corpus.vocab.SrilmSymbol.<init>(SrilmSymbol.java:46)
 +        at joshua.decoder.JoshuaDecoder.initializeSymbolTable(JoshuaDecoder.java:322)
 +        at joshua.decoder.JoshuaDecoder.initialize(JoshuaDecoder.java:259)
 +        at joshua.decoder.JoshuaDecoder.<init>(JoshuaDecoder.java:108)
 +        at joshua.decoder.JoshuaDecoder.main(JoshuaDecoder.java:684)</code>

[ Back to the navigation ] [ Back to the content ]