我正在研究 GATE 工具并尝试处理不同语言的文本。我正在使用 languageTool.jar。德语和英语的处理工作正常。在 GATE 处理法语期间,它显示以下错误。
Exception in thread "ApplicationViewer1" java.lang.UnsatisfiedLinkError: Can't find libhunspell-linux-x86-64.so in the filesystem nor in the classpath
java.lang.UnsatisfiedLinkError: Unable to load library 'hunspell-linux-x86-64': libhunspell-linux-x86-64.so: cannot open shared object file: No such file or directory
at org.languagetool.rules.spelling.hunspell.Hunspell.<init>(Hunspell.java:99)
at org.languagetool.rules.spelling.hunspell.Hunspell.getInstance(Hunspell.java:68)
at org.languagetool.rules.spelling.hunspell.Hunspell.getInstance(Hunspell.java:54)
at org.languagetool.rules.spelling.hunspell.HunspellRule.init(HunspellRule.java:169)
at org.languagetool.rules.spelling.SpellingCheckRule.resetIgnoreTokens(SpellingCheckRule.java:107)
at org.languagetool.JLanguageTool.setIgnoreWords(JLanguageTool.java:366)
at org.languagetool.JLanguageTool.reInitSpellCheckIgnoreWords(JLanguageTool.java:395)
at org.languagetool.JLanguageTool.disableRule(JLanguageTool.java:379)
at com.cognicor.LanguageToolCreator.sourceLanguageTool(LanguageToolCreator.java:139)
at com.cognicor.MultilingualModule.execute(MultilingualModule.java:331)
at gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)
at gate.creole.SerialController.runComponent(SerialController.java:225)
at gate.creole.SerialController.executeImpl(SerialController.java:157)
at gate.creole.SerialAnalyserController.executeImpl(SerialAnalyserController.java:238)
at gate.creole.SerialAnalyserController.execute(SerialAnalyserController.java:129)
at gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)
at gate.gui.SerialControllerEditor$RunAction$1.run(SerialControllerEditor.java:1706)
at java.lang.Thread.run(Thread.java:744)
我的系统是 64 位的。请帮我解决这个问题。