I am trying to use the GATE SUMMA from the java. I am trying to run the files included in the tutorial. I have downloaded both ANNIE and SUMMA plugins seperately. What I dont understand is this part in the configuration.
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
What does this mean you have to register the plugins from GATE you want to use
Even providing an plugin path throws and error
The method addDirectory(URL) is undefined for the type CreoleRegister
I see that Creole is a type of configuration management under GATE framework. Do I need to have an xml file created for that?
The full class file is as shown on the Gist ()