以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  请教Text2Onto的配置问题  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=30449)


--  作者:xanthe
--  发布时间:4/12/2006 7:47:00 PM

--  请教Text2Onto的配置问题
从网站上下载了Text2Onto的install版本,然后安装了WordNet和Gate,都是装在C盘根目录下,然后按照readme.txt里面的说明一步一步安装,可是最后总是有错误,错误提示如下:

loading settings from file C:\Text2Onto/text2onto.properties
LinguisticPreprocessor: english (C:/Text2Onto/3rdparty/gate/english/) / UTF-8
Using C:\GATE as GATE home
Using C:\GATE\plugins as installed plug-ins directory.
Using C:\GATE\gate.xml as site configuration file.
Using C:\Documents and Settings\xanthe\gate.xml as user configuration file
CREOLE plugin loaded: file:/C:/GATE/plugins/ANNIE/
CREOLE plugin loaded: file:C:/Text2Onto/3rdparty/gate/
CREOLE plugin loaded: file:C:/GATE/plugins/Tools/
CREOLE plugin loaded: file:C:/GATE/plugins/Stemmer/
LinguisticPreprocessor: loading application (C:/Text2Onto/3rdparty/gate/english/applicatio
n.gate )...
Could not reload creole directory file:/C:/GATE
CREOLE plugin loaded: file:/C:/GATE/plugins/Tools/
Could not reload creole directory file:/C:/GATE
gate.creole.ResourceInstantiationException: Couldn't find parameter named baseSentenceAnno
tationType in gate.creole.POSTagger
        at gate.creole.AbstractResource.setParameterValue(Unknown Source)
        at gate.creole.AbstractResource.setParameterValues(Unknown Source)
        at gate.creole.AbstractResource.setParameterValues(Unknown Source)
        at gate.Factory.createResource(Unknown Source)
        at gate.util.persistence.ResourcePersistence.createObject(Unknown Source)
        at gate.util.persistence.PRPersistence.createObject(Unknown Source)
        at gate.util.persistence.LanguageAnalyserPersistence.createObject(Unknown Source)
        at gate.util.persistence.PersistenceManager.getTransientRepresentation(Unknown Sou
rce)
        at gate.util.persistence.CollectionPersistence.createObject(Unknown Source)
        at gate.util.persistence.PersistenceManager.getTransientRepresentation(Unknown Sou
rce)
        at gate.util.persistence.ControllerPersistence.createObject(Unknown Source)
        at gate.util.persistence.SerialAnalyserControllerPersistence.createObject(Unknown
Source)
        at gate.util.persistence.PersistenceManager.getTransientRepresentation(Unknown Sou
rce)
        at gate.util.persistence.PersistenceManager.loadObjectFromFile(Unknown Source)
        at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.init(Unknown Source)
        at org.ontoware.text2onto.linguistic.LinguisticAnalyser.<init>(Unknown Source)
        at org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown Source)
        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$700(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto$15.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
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$700(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto$15.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

不知道那位大虾安装过这个软件,帮助我一下啊,急!
iamwym在不在?


--  作者:jpz6311whu
--  发布时间:4/12/2006 11:32:00 PM

--  
呵呵,前两天我们实验室搞这个的也碰到一样的问题,现在也头疼哟
--  作者:eastdream99
--  发布时间:4/15/2008 1:30:00 PM

--  
我现在也是这个问题
资料大多都是介绍Text2Onto的原理
很少有介绍如何使用的
--  作者:eastdream99
--  发布时间:4/16/2008 11:27:00 AM

--  
你这里是配置出现了问题
解决办法:
用<GATE-DIR>/lib/jasper- compiler-jdt.jar.替换
<T2O-DIR>/3rdparty/gate/jasper-compiler-jdt.jar
如果结果还是不行 给我发邮件:east_dream99@163.com
我也是刚刚配置好
现在正在研究如何使用

--  作者:lftianxiang
--  发布时间:12/3/2008 2:39:00 PM

--  
正在学习如何使用,我现在加了两个corpus后,运行,出现错误:
Cannot create POM from ontology: file:/C:/Documents%20and%20Settings/Administrator/桌面/da.txt

org.ontoware.text2onto.algorithm.ControllerException: Error while preprocessing corpus

org.ontoware.text2onto.algorithm.ControllerException: Error while preprocessing corpus

org.ontoware.text2onto.algorithm.ControllerException: Error while preprocessing corpus

org.ontoware.text2onto.algorithm.ControllerException: Error while preprocessing corp


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
62.500ms