【发布时间】:2019-02-20 11:50:24
【问题描述】:
我正在使用GATE 库并收到错误
gate.creole.ResourceInstantiationException: Couldn't get resource data for com.jpetrak.gate.stringannotation.extendedgazetteer2.ExtendedGazetteer2.
You may need first to load the plugin that contains your resource.
For example, to create a gate.creole.tokeniser.DefaultTokeniser
you need first to load the ANNIE plugin.
Go to the menu File->Manage CREOLE plugins or use the method
Gate.getCreoleRegister().registerDirectories(pluginDirectoryURL).
我已初始化我的插件文件夹并添加了以下行
Gate.getCreoleRegister().registerDirectories(new URL("file:///home/latest/plugins/ANNIE"));
文件夹 ANNIE 包含文件 cerole.xml
告诉here
为什么我仍然收到错误消息?
谢谢
【问题讨论】: