I am using GATE library and am getting the error
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).
I am initialised my plugins folder and also have added the following line
Gate.getCreoleRegister().registerDirectories(new URL("file:///home/latest/plugins/ANNIE"));
and folder ANNIE contains the file cerole.xml
as told here
why am I still getting the error?
Thank you