Commit b6398491 authored by jcorvi's avatar jcorvi
Browse files

maven change for annie library

parent 95ab78d0
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<dependency> <dependency>
<groupId>uk.ac.gate</groupId> <groupId>uk.ac.gate</groupId>
<artifactId>gate-core</artifactId> <artifactId>gate-core</artifactId>
<version>8.5.1</version> <version>8.6.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
......
...@@ -292,7 +292,7 @@ public class App { ...@@ -292,7 +292,7 @@ public class App {
ExtensionFileFilter filter = new ExtensionFileFilter("Txt files", new String[]{"txt","xml"}); ExtensionFileFilter filter = new ExtensionFileFilter("Txt files", new String[]{"txt","xml"});
URL url = directory.toURL(); URL url = directory.toURL();
corpus.populate(url, filter, null, false); corpus.populate(url, filter, null, false);
Plugin anniePlugin = new Plugin.Maven("uk.ac.gate.plugins", "annie", "8.5"); Plugin anniePlugin = new Plugin.Maven("uk.ac.gate.plugins", "annie", "8.6");
Gate.getCreoleRegister().registerPlugin(anniePlugin); Gate.getCreoleRegister().registerPlugin(anniePlugin);
// create a serial analyser controller to run ANNIE with // create a serial analyser controller to run ANNIE with
SerialAnalyserController annieController = (SerialAnalyserController) Factory.createResource("gate.creole.SerialAnalyserController", SerialAnalyserController annieController = (SerialAnalyserController) Factory.createResource("gate.creole.SerialAnalyserController",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment