-- 作者:monicashu
-- 发布时间:2/24/2009 2:47:00 PM
-- 好久不见的text2onto配置问题
我用的是text2onto-210207-noinstaller版本 按里面的readme进行配置 text2onto.properties里面的参数跟readme写的不太一样,我完全按readme走的: language=english gate_dir=F:/Studio/Week/Martedi/Text2Onto/text2onto-210207-noinstaller/3rdparty/gate/ gate_app=application.gate jape_main=main.jape stop_file=stopwords.txt creole_dir=F:/Studio/Week/Martedi/Text2Onto/text2onto-210207-noinstaller/3rdparty/gate/ jwnl_properties=F:/Studio/Week/Martedi/Text2Onto/text2onto-210207-noinstaller/3rdparty/jwnl/file_properties.xml temp_corpus=C:/temp/text2onto/ algorithms=F:/Studio/Week/Martedi/Text2Onto/text2onto-210207-noinstaller/algorithms.xml icons=F:/Studio/Week/Martedi/Text2Onto/text2onto-210207-noinstaller/icons/ 3rdparty/jwnl/file_properties.xml改了 <param name="dictionary_path" value="F:\Studio\Week\Martedi\Text2Onto\WordNet\2.1\dict"/> Text2onto.bat @echo off set T2O=F:\Studio\Week\Martedi\Text2Onto\text2onto-210207-noinstaller set LIB=%T2O%\3rdparty set GATE=F:\Studio\Week\Martedi\Text2Onto\gate-4.0-build2752-ALL Start text2onto.bat. 出现问题: loading settings from file F:\Studio\Week\Martedi\Text2Onto\text2onto-210207-noi nstaller/text2onto.properties Preprocessor.init Using F:\Studio\Week\Martedi\Text2Onto\gate-4.0-build2752-ALL as GATE home Using F:\Studio\Week\Martedi\Text2Onto\gate-4.0-build2752-ALL\plugins as install ed plug-ins directory. Using F:\Studio\Week\Martedi\Text2Onto\gate-4.0-build2752-ALL\gate.xml as site c onfiguration file. Using C:\Documents and Settings\Monica\gate.xml as user configuration file CREOLE plugin loaded: file:/F:/Studio/Week/Martedi/Text2Onto/gate-4.0-build2752- ALL/plugins/ANNIE/ LinguisticPreprocessor.init: file:f://studio/week/martedi/text2onto/text2onto-21 0207-noinstaller/3rdparty/gate/ CREOLE plugin loaded: file:f://studio/week/martedi/text2onto/text2onto-210207-no installer/3rdparty/gate/ CREOLE plugin loaded: file:F:/Studio/Week/Martedi/Text2Onto/gate-4.0-build2752-A LL/plugins/Tools/ CREOLE plugin loaded: file:F:/Studio/Week/Martedi/Text2Onto/gate-4.0-build2752-A LL/plugins/Stemmer/ LinguisticPreprocessor: creating application f://studio/week/martedi/text2onto/t ext2onto-210207-noinstaller/3rdparty/gate/english/application.gate ... gate.creole.annotdelete.AnnotationDeletePR Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException 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(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 根据过去的帖子,我查了下电脑的java版本,是1.6.0_12-b04 用gate安装路径中的jasper-compiler-jdt.jar替换3rdparty\gate中的同名文件的方法也试过了,还是出同样错误…… 恳请成功人士的指点!谢~
|