是否可以在 Gate 8.5.1 中向 ANNIE Gazetteer 添加列表?

Is possible to add a list to the ANNIE Gazetteer in Gate 8.5.1?

切换到新版本的 Gate(从 8.4.1 到 8.5.1),似乎无法修改 ANNIE 地名词典以添加新列表。 事实上,在地名词典编辑器中,用于添加新列表的框已被禁用。 我也尝试寻找通常位于 C:\Program Files\GATE_Developer_8.4.1\plugins\ANNIE\resources\gazetteer,但是插件文件夹不存在。

从GATE 8.5开始,新格式插件的插件资源文件不能直接修改了。您必须将它们提取到本地文件系统上的新位置,并使用这些提取的文件加载特定的 GATE PR。然后你可以随意修改提取的文件...

另见 https://gate.ac.uk/userguide/sec:developer:plugins

Some plugins also contain files which are used to configure the resources. For example, the ANNIE plugin contains the resources for the ANNIE Gazetteer and the ANNIE NE Transducer (amongst other things). While often these files can be used straight from within the plugin, it can be useful to edit them, either to add missing information or as a starting point for delveloping new resources etc. To extract a copy of these resource files from a plugin simply select it in the plugin manager and then click the download resources button shown under the list of resources the plugin defines. This button will only be enabled for plugins which contain such files. After clicking the button you will be asked to select a directory into which to copy the files. You can then edit the files as needed before using them to configure a new instance of the appropriate processing resource.