Revision: 19542
http://sourceforge.net/p/gate/code/19542
Author: markagreenwood
Date: 2016-08-22 17:06:35 +0000 (Mon, 22 Aug 2016)
Log Message:
-----------
TermRaider has been mavenized
Modified Paths:
--------------
gate/branches/sawdust2/plugins/TermRaider/.classpath
gate/branches/sawdust2/plugins/TermRaider/.project
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/PMIExample.java
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/TermRaiderEnglish.java
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/pmi-example.gapp
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/termraider-eng.gapp
gate/branches/sawdust2/plugins/pom.xml
Added Paths:
-----------
gate/branches/sawdust2/plugins/TermRaider/pom.xml
gate/branches/sawdust2/plugins/TermRaider/src/main/
gate/branches/sawdust2/plugins/TermRaider/src/main/java/
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/creole.xml
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/img/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/img/termbank-lr.png
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/img/termbank-pr.png
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/
Removed Paths:
-------------
gate/branches/sawdust2/plugins/TermRaider/applications/
gate/branches/sawdust2/plugins/TermRaider/build.xml
gate/branches/sawdust2/plugins/TermRaider/creole.xml
gate/branches/sawdust2/plugins/TermRaider/doc/
gate/branches/sawdust2/plugins/TermRaider/lib/
gate/branches/sawdust2/plugins/TermRaider/resources/
gate/branches/sawdust2/plugins/TermRaider/src/gate/
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/resources/img/termbank-lr.png
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/resources/img/termbank-pr.png
Modified: gate/branches/sawdust2/plugins/TermRaider/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/.classpath 2016-08-22
17:05:47 UTC (rev 19541)
+++ gate/branches/sawdust2/plugins/TermRaider/.classpath 2016-08-22
17:06:35 UTC (rev 19542)
@@ -1,7 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry combineaccessrules="false" exported="true" kind="src"
path="/GATE"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="classes"/>
+ <classpathentry kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry excluding="**" kind="src" output="target/classes"
path="src/main/resources">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/test-classes"
path="src/test/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: gate/branches/sawdust2/plugins/TermRaider/.project
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/.project 2016-08-22 17:05:47 UTC
(rev 19541)
+++ gate/branches/sawdust2/plugins/TermRaider/.project 2016-08-22 17:06:35 UTC
(rev 19542)
@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
Deleted: gate/branches/sawdust2/plugins/TermRaider/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/build.xml 2016-08-22 17:05:47 UTC
(rev 19541)
+++ gate/branches/sawdust2/plugins/TermRaider/build.xml 2016-08-22 17:06:35 UTC
(rev 19542)
@@ -1,141 +0,0 @@
-<project name="TermRaider2"
- default="jar"
- basedir=".">
-
- <description>Building TermRaider2 software</description>
- <!-- $Id$ -->
-
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
-
- <property file="build.properties" />
- <property name="gate.home" location="../.." />
-
- <property name="classes.dir" location="classes" />
- <property name="src.dir" location="src" />
- <property name="lib.dir" location="lib" />
- <property name="doc.dir" location="doc" />
- <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-
- <property name="gate.bin.dir" location="${gate.home}/bin" />
- <property name="gate.lib" location="${gate.home}/lib" />
- <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
-
- <property name="termraider.jar.location"
- location="gate-termraider.jar" />
-
-
- <!-- load ant-contrib -->
- <taskdef resource="net/sf/antcontrib/antlib.xml" >
- <classpath>
- <pathelement location="${gate.home}/build/lib/ant-contrib.jar"/>
- </classpath>
- </taskdef>
-
-
- <fileset id="classes"
- dir="${classes.dir}"
- includes="**/*.class **/*.png **/*.xml **/*.rdf" />
-
-
- <path id="compile.classpath">
- <pathelement location="${gate.jar}" />
- <fileset dir="${gate.lib}">
- <include name="**/*.jar" />
- <include name="**/*.zip" />
- </fileset>
- <fileset dir="lib">
- <include name="**/*.jar" />
- </fileset>
- </path>
-
-
- <target name="prepare">
- <mkdir dir="${classes.dir}" />
- </target>
-
-
- <target name="compile" depends="prepare">
- <mkdir dir="${classes.dir}" />
- <javac
- destdir="${classes.dir}"
- srcdir="${src.dir}"
- debug="true"
- encoding="UTF-8"
- source="1.6"
- target="1.6" >
- <include name="**/*.java" />
- <classpath>
- <path refid="compile.classpath"/>
- </classpath>
- </javac>
- </target>
-
-
- <target name="jar" depends="compile">
- <copy todir="${classes.dir}/gate/resources" includeEmptyDirs="true" >
- <fileset dir="${src.dir}/gate/resources" />
- </copy>
-
-
- <jar destfile="${termraider.jar.location}">
- <fileset refid="classes" />
- <fileset file="resources/log4j.properties" />
- <!-- (as used to get data files into the Musing client)
- <fileset dir="${client.data.dir}"
- includes="**/*.png, **/*.xml" />
- -->
- </jar>
- </target>
-
-
- <target name="javadoc" depends="prepare" >
- <!-- Make documentation -->
- <mkdir dir="${javadoc.dir}" />
- <javadoc access="protected"
- destdir="${javadoc.dir}"
- classpathref="compile.classpath"
- encoding="UTF-8"
- windowtitle="TermRaider JavaDoc"
- source="1.6"
- breakiterator="true">
- <fileset dir="${src.dir}"/>
- <link href="http://docs.oracle.com/javase/6/docs/api/" />
- <link href="http://gate.ac.uk/gate/doc/javadoc/" />
- </javadoc>
- </target>
-
-
- <!-- remove the generated .class files -->
- <target name="clean.classes" >
- <delete failonerror="false"
- dir="${classes.dir}" />
- </target>
-
-
-
-
- <!-- clean resources generated by tests -->
- <target name="test.clean">
- <delete>
- <fileset dir="." includes="TEST*.xml" />
- </delete>
- </target>
-
- <!-- Clean up - remove .class and .jar files -->
- <target name="clean" depends="clean.classes, test.clean" >
- <delete file="${termraider.jar.location}" />
- </target>
-
-
- <!-- Targets used by the main GATE build file:
- build: build the plugin - just calls "jar" target
- test : run the unit tests - there aren't any
- distro.prepare: remove intermediate files that shouldn't be in the
- distribution
- -->
- <target name="build" depends="jar" />
- <target name="test" />
- <target name="distro.prepare" depends="clean.classes, test.clean" />
-
-</project>
Deleted: gate/branches/sawdust2/plugins/TermRaider/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/creole.xml 2016-08-22
17:05:47 UTC (rev 19541)
+++ gate/branches/sawdust2/plugins/TermRaider/creole.xml 2016-08-22
17:06:35 UTC (rev 19542)
@@ -1,8 +0,0 @@
-<CREOLE-DIRECTORY>
- <!-- $Id$ -->
- <CREOLE>
- <JAR SCAN="true">gate-termraider.jar</JAR>
- <!-- core-renderer.jar is now in gate/lib -->
- <!-- opencsv-2.3.jar was superseded by datastore serialization -->
- </CREOLE>
-</CREOLE-DIRECTORY>
Added: gate/branches/sawdust2/plugins/TermRaider/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/pom.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/TermRaider/pom.xml 2016-08-22 17:06:35 UTC
(rev 19542)
@@ -0,0 +1,37 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- this is the description of this plugin -->
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>termraider</artifactId>
+ <version>9.0-SNAPSHOT</version>
+
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License (LGPL), Version
3</name>
+ <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <organization>
+ <name>GATE</name>
+ <url>http://gate.ac.uk</url>
+ </organization>
+
+ <dependencies>
+ <!-- add any other libraries your plugin depends on. Any other
GATE plugins
+ you depend on at compile time should use the provided
scope -->
+ </dependencies>
+
+</project>
Deleted:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/resources/img/termbank-lr.png
===================================================================
(Binary files differ)
Deleted:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/resources/img/termbank-pr.png
===================================================================
(Binary files differ)
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/PMIExample.java
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/gate/termraider/PMIExample.java
2016-08-22 12:46:06 UTC (rev 19540)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/PMIExample.java
2016-08-22 17:06:35 UTC (rev 19542)
@@ -9,7 +9,7 @@
icon = "TermRaiderApp",
comment = "Example application for the PMI (pointwise mutual information)
tool",
autoinstances = @AutoInstance(parameters = {
- @AutoInstanceParam(name="pipelineURL",
value="applications/pmi-example.gapp"),
+ @AutoInstanceParam(name="pipelineURL",
value="resources/applications/pmi-example.gapp"),
@AutoInstanceParam(name="menu", value="TermRaider")}))
public class PMIExample extends PackagedController {
private static final long serialVersionUID = -4725697168124226331L;
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/TermRaiderEnglish.java
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/gate/termraider/TermRaiderEnglish.java
2016-08-22 12:46:06 UTC (rev 19540)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/TermRaiderEnglish.java
2016-08-22 17:06:35 UTC (rev 19542)
@@ -9,7 +9,7 @@
icon = "TermRaiderApp",
comment = "Example application showing typical set-up for the TermRaider
tools",
autoinstances = @AutoInstance(parameters = {
- @AutoInstanceParam(name="pipelineURL",
value="applications/termraider-eng.gapp"),
+ @AutoInstanceParam(name="pipelineURL",
value="resources/applications/termraider-eng.gapp"),
@AutoInstanceParam(name="menu", value="TermRaider")}))
public class TermRaiderEnglish extends PackagedController {
private static final long serialVersionUID = -1599367292323903155L;
Copied: gate/branches/sawdust2/plugins/TermRaider/src/main/resources/creole.xml
(from rev 19540, gate/branches/sawdust2/plugins/TermRaider/creole.xml)
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/src/main/resources/creole.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/TermRaider/src/main/resources/creole.xml
2016-08-22 17:06:35 UTC (rev 19542)
@@ -0,0 +1,3 @@
+<CREOLE-DIRECTORY>
+
+</CREOLE-DIRECTORY>
Copied:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/img/termbank-lr.png
(from rev 19540,
gate/branches/sawdust2/plugins/TermRaider/src/gate/resources/img/termbank-lr.png)
===================================================================
(Binary files differ)
Copied:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/gate/resources/img/termbank-pr.png
(from rev 19540,
gate/branches/sawdust2/plugins/TermRaider/src/gate/resources/img/termbank-pr.png)
===================================================================
(Binary files differ)
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/pmi-example.gapp
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/applications/pmi-example.gapp
2016-08-22 12:46:06 UTC (rev 19540)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/pmi-example.gapp
2016-08-22 17:06:35 UTC (rev 19542)
@@ -1,21 +1,31 @@
<gate.util.persistence.GateApplication>
<urlList class="gate.util.persistence.CollectionPersistence">
<localList>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../Tools/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../ANNIE/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../Groovy/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../TermRaider/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../Tagger_NP_Chunking/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>termraider</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>annie</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>tools</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>groovy</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>tagger-np_chunker</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
</localList>
<collectionType>java.util.ArrayList</collectionType>
</urlList>
@@ -160,26 +170,7 @@
<resourceName>AnnieGazetteer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>listsURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/gazetteer/lists.def</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>gazetteerFeatureSeparator</string>
- <string>:</string>
- </entry>
- <entry>
- <string>caseSensitive</string>
- <boolean>true</boolean>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -213,18 +204,7 @@
<resourceName>tokenizer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>rulesURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/tokeniser/DefaultTokeniser.rules</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -262,24 +242,7 @@
<resourceName>splitter</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>gazetteerListsURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/sentenceSplitter/gazetteer/lists.def</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>transducerURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/sentenceSplitter/grammar/main-single-nl.jape</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -337,24 +300,7 @@
<resourceName>posTagger</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>rulesURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/heptag/ruleset</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <null/>
- </entry>
- <entry>
- <string>lexiconURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/heptag/lexicon</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -404,18 +350,7 @@
<resourceName>lemmatizer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>caseSensitive</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>rulesFile</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../Tools/resources/morph/default.rul</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -453,26 +388,7 @@
<resourceName>AnnieNeTransducer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>grammarURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/NE/main.jape</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>annotationAccessors</string>
- <null/>
- </entry>
- <entry>
- <string>operators</string>
- <null/>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -518,46 +434,7 @@
<resourceName>OrthoMatcher</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>definitionFileURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/othomatcher/listsNM.def</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>minimumNicknameLikelihood</string>
- <double>0.5</double>
- </entry>
- <entry>
- <string>extLists</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>caseSensitive</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>highPrecisionOrgs</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>personType</string>
- <string>Person</string>
- </entry>
- <entry>
- <string>processUnknown</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>organizationType</string>
- <string>Organization</string>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -610,7 +487,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/multiword-main-pmi.jape</urlString>
+
<urlString>$relpath$../jape/multiword-main-pmi.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -662,7 +539,7 @@
<entry>
<string>scriptURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/groovy/CleanPMICandidates.groovy</urlString>
+
<urlString>$relpath$../groovy/CleanPMICandidates.groovy</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
</localMap>
@@ -718,7 +595,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/nouns-verbs-for-pmi.jape</urlString>
+
<urlString>$relpath$../jape/nouns-verbs-for-pmi.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -751,4 +628,4 @@
</localMap>
</features>
</application>
-</gate.util.persistence.GateApplication>
\ No newline at end of file
+</gate.util.persistence.GateApplication>
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/termraider-eng.gapp
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/applications/termraider-eng.gapp
2016-08-22 12:46:06 UTC (rev 19540)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/applications/termraider-eng.gapp
2016-08-22 17:06:35 UTC (rev 19542)
@@ -1,18 +1,26 @@
<gate.util.persistence.GateApplication>
<urlList class="gate.util.persistence.CollectionPersistence">
<localList>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../TermRaider/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../ANNIE/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../Tools/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../Groovy/</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>termraider</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>annie</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>tools</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>groovy</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
</localList>
<collectionType>java.util.ArrayList</collectionType>
</urlList>
@@ -140,18 +148,7 @@
<resourceName>tokenizer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>rulesURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/tokeniser/DefaultTokeniser.rules</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -180,30 +177,7 @@
<resourceName>splitter</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>externalSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/regex-splitter/external-split-patterns.txt</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>nonSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/regex-splitter/non-split-patterns.txt</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>internalSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/regex-splitter/internal-split-patterns.txt</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -240,26 +214,7 @@
<resourceName>annieGazetteer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>caseSensitive</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>gazetteerFeatureSeparator</string>
- <null/>
- </entry>
- <entry>
- <string>listsURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/gazetteer/lists.def</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -312,24 +267,7 @@
<resourceName>posTagger</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>rulesURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/heptag/ruleset</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>encoding</string>
- <null/>
- </entry>
- <entry>
- <string>lexiconURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/heptag/lexicon</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -374,18 +312,7 @@
<resourceName>lemmatizer</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>caseSensitive</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>rulesFile</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../Tools/resources/morph/default.rul</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -422,34 +349,11 @@
</entry>
</localMap>
</runtimeParams>
- <resourceType>gate.creole.Transducer</resourceType>
+ <resourceType>gate.creole.ANNIETransducer</resourceType>
<resourceName>annieJape</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>annotationAccessors</string>
- <null/>
- </entry>
- <entry>
- <string>operators</string>
- <null/>
- </entry>
- <entry>
- <string>grammarURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/NE/main.jape</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>binaryGrammarURL</string>
- <null/>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -490,46 +394,7 @@
<resourceName>orthomatcher</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>definitionFileURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../../ANNIE/resources/othomatcher/listsNM.def</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>minimumNicknameLikelihood</string>
- <double>0.5</double>
- </entry>
- <entry>
- <string>extLists</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>caseSensitive</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>highPrecisionOrgs</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>personType</string>
- <string>Person</string>
- </entry>
- <entry>
- <string>processUnknown</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>organizationType</string>
- <string>Organization</string>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -574,7 +439,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/select-tokens-en.jape</urlString>
+ <urlString>$relpath$../jape/select-tokens-en.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -630,7 +495,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/multiword-main-en.jape</urlString>
+
<urlString>$relpath$../jape/multiword-main-en.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -689,7 +554,7 @@
<entry>
<string>scriptURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/groovy/DeduplicateMultiWord.groovy</urlString>
+
<urlString>$relpath$../groovy/DeduplicateMultiWord.groovy</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
</localMap>
@@ -749,7 +614,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/augmentation.jape</urlString>
+ <urlString>$relpath$../jape/augmentation.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -912,7 +777,7 @@
<entry>
<string>grammarURL</string>
<gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$relpath$../resources/jape/term-candidate-threshold.jape</urlString>
+
<urlString>$relpath$../jape/term-candidate-threshold.jape</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
</entry>
<entry>
@@ -956,4 +821,4 @@
</localMap>
</features>
</application>
-</gate.util.persistence.GateApplication>
\ No newline at end of file
+</gate.util.persistence.GateApplication>
Modified: gate/branches/sawdust2/plugins/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/pom.xml 2016-08-22 17:05:47 UTC (rev
19541)
+++ gate/branches/sawdust2/plugins/pom.xml 2016-08-22 17:06:35 UTC (rev
19542)
@@ -48,5 +48,6 @@
<module>Stanford_CoreNLP</module>
<module>JAPE_Plus</module>
<module>Groovy</module>
+ <module>TermRaider</module>
</modules>
</project>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs