我想从java中使用GATE SUMMA。我正在尝试运行教程中包含的文件。我已经单独下载了ANNIE和SUMMA插件。我不明白的是配置中的这一部分。GATE SUMMA配置
Gate.init();
// you have to register the plugins from GATE you want to use
Gate.getCreoleRegister().addDirectory(new URL("file:///"+anniePluginDir));
// you have to register the SUMMA plugin to have access to its resources
Gate.getCreoleRegister().addDirectory(new URL("file:///"+summaPluginDir));
// now create your controller
这是什么意思you have to register the plugins from GATE you want to use
甚至提供了一个插件路径罚球和错误
The method addDirectory(URL) is undefined for the type CreoleRegister
我看到克里奥尔语是GATE框架下的一个类型的配置管理。我需要为此创建一个xml文件吗?
完整的类文件所示的Gist()
是的,你正确的,现在''我认为这是在当前GATE CreoleRegister.registerDirectories(URL)方法(版本8.x的系列)''代替。 – Betafish