-- 作者:Shaird
-- 发布时间:3/14/2008 11:40:00 AM
-- [求助]关于 Text2Onto 的设置问题
调试了好久。不知道问题出在哪里。请求达人帮忙。谢谢了。 我的 Gate 目录 D:\Ontology\Gate WordNet 目录 D:\Ontology\WordNet Text2Onto 目录 D:\Ontology\Text2Onto 版本:text2onto-091107-noinstaller text2onto.properties 设置 如下: language=english gate_dir=D:/Ontology/Text2Onto/3rdparty/gate/ gate_app=application.gate jape_main=main.jape stop_file=stopwords.txt creole_dir=D:/Ontology/Text2Onto/3rdparty/gate/ jwnl_properties=D:/Ontology/Text2Onto/3rdparty/jwnl/file_properties.xml temp_corpus=c:/temp/text2onto/ icons=D:/Ontology/Text2Onto/icons/ datastore=serial tagger_dir=f:/treetagger/bin/ spanish_wn_dir=f:/wordnet_es/ 这里的 tagger_dir 和 spanish_wn_dir 是 本身配置文件里面 就有的。 这里我要怎么设置啊? 删除 应该没问题的吧? file_properties.xml 设置 ... <param name="dictionary_path" value="D:\Ontology\WordNet\dict\"/> ... 按照 read me 说明来的。 Text2Onto.bat 设置 ... set T2O=D:\Ontology\Text2Onto set LIB=%T2O%\3rdparty set GATE=D:\Ontology\Gate ... 错误 提示: LinguisticPreprocessor.init: file:d://ontology/text2onto/3rdparty/gate/ CREOLE plugin loaded: file:d://ontology/text2onto/3rdparty/gate/ CREOLE plugin loaded: file:D:/Ontology/Gate/plugins/Tools/ CREOLE plugin loaded: file:D:/Ontology/Gate/plugins/Stemmer/ LinguisticPreprocessor: creating application d://ontology/text2onto/3rdparty/gat e/english/application.gate ... gate.creole.annotdelete.AnnotationDeletePR gate.creole.tokeniser.DefaultTokeniser Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.eclipse. jdt.internal.compiler.Compiler.<init>(Lorg/eclipse/jdt/internal/compiler/env/INa meEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Lorg/eclip se/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/internal/compiler /ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V at gate.util.compilers.Eclipse.compile(Eclipse.java:357) at gate.util.Javac.loadClasses(Javac.java:45) at gate.jape.SinglePhaseTransducer.finish(SinglePhaseTransducer.java:153 ) at gate.jape.MultiPhaseTransducer.finish(MultiPhaseTransducer.java:122) at gate.jape.Batch.parseJape(Batch.java:212) at gate.jape.Batch.<init>(Batch.java:80) at gate.creole.Transducer.init(Transducer.java:83) at gate.Factory.createResource(Factory.java:302) at gate.Factory.createResource(Factory.java:117) at gate.creole.tokeniser.DefaultTokeniser.init(DefaultTokeniser.java:72) at gate.Factory.createResource(Factory.java:302) at gate.Factory.createResource(Factory.java:97) at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.createApplic ation(Unknown Source) at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.initApplicat ion(Unknown Source) at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.init(Unknown Source) at org.ontoware.text2onto.linguistic.LinguisticAnalyser.<init>(Unknown S ource) at org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown S ource) at org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown S ource) at org.ontoware.text2onto.gui.Text2Onto.reset(Unknown Source) at org.ontoware.text2onto.gui.Text2Onto.<init>(Unknown Source) at org.ontoware.text2onto.gui.Text2Onto.createAndShowGUI(Unknown Source) at org.ontoware.text2onto.gui.Text2Onto.access$000(Unknown Source) at org.ontoware.text2onto.gui.Text2Onto$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) ...... |
搜索其他的的 配置问题。 好像每个人的都不大一样。 请求帮忙。 异常时说 找不到 eclipse 的方法。 是不是 还要在哪里装入 eclipse 的包啊? 谢谢了。
|