Revision: 20078
http://sourceforge.net/p/gate/code/20078
Author: markagreenwood
Date: 2017-02-08 10:29:53 +0000 (Wed, 08 Feb 2017)
Log Message:
-----------
moved the creole metadata out of creole.xml into the classes and converted the
plugin to use maven
Modified Paths:
--------------
gate/branches/sawdust2/plugins/Lang_Romanian/.classpath
gate/branches/sawdust2/plugins/Lang_Romanian/.project
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianGazetteer.java
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTokeniser.java
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTransducer.java
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/resources/romanian.gapp
Added Paths:
-----------
gate/branches/sawdust2/plugins/Lang_Romanian/pom.xml
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/creole.xml
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/resources/
Removed Paths:
-------------
gate/branches/sawdust2/plugins/Lang_Romanian/build.xml
gate/branches/sawdust2/plugins/Lang_Romanian/creole.xml
gate/branches/sawdust2/plugins/Lang_Romanian/doc/
gate/branches/sawdust2/plugins/Lang_Romanian/resources/
gate/branches/sawdust2/plugins/Lang_Romanian/src/romanian/
Property Changed:
----------------
gate/branches/sawdust2/plugins/Lang_Romanian/
Index: gate/branches/sawdust2/plugins/Lang_Romanian
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian 2017-02-08 09:51:22 UTC
(rev 20077)
+++ gate/branches/sawdust2/plugins/Lang_Romanian 2017-02-08 10:29:53 UTC
(rev 20078)
Property changes on: gate/branches/sawdust2/plugins/Lang_Romanian
___________________________________________________________________
Modified: svn:ignore
## -1,4 +1,2 ##
-build
-dist
-romanian.jar
+target
.settings
Modified: gate/branches/sawdust2/plugins/Lang_Romanian/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/.classpath 2017-02-08
09:51:22 UTC (rev 20077)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/.classpath 2017-02-08
10:29:53 UTC (rev 20078)
@@ -1,7 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry combineaccessrules="false" exported="true" kind="src"
path="/GATE"/>
- <classpathentry kind="output" path="build"/>
+ <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/Lang_Romanian/.project
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/.project 2017-02-08
09:51:22 UTC (rev 20077)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/.project 2017-02-08
10:29:53 UTC (rev 20078)
@@ -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/Lang_Romanian/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/build.xml 2017-02-08
09:51:22 UTC (rev 20077)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/build.xml 2017-02-08
10:29:53 UTC (rev 20078)
@@ -1,89 +0,0 @@
-<project name="arabic" default="dist" basedir=".">
- <description>
- A plugin for Multilingual data [Romanian]
- </description>
-
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
-
- <!-- set global properties for this build -->
- <property name="src" location="src"/>
- <property name="build" location="build"/>
- <property name="dist" location="dist"/>
- <property name="jar.location" location="romanian.jar" />
- <property name="doc.dir" location="doc" />
- <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-
- <property name="gate.home" location="../.." />
- <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
- <property name="gate.lib" location="${gate.home}/lib" />
-
- <path id="compile.classpath">
- <pathelement location="${gate.jar}" />
- <fileset dir="${gate.lib}" >
- <include name="**/*.jar" />
- <include name="**/*.zip" />
- </fileset>
- </path>
-
- <target name="init">
- <!-- Create the time stamp -->
- <tstamp/>
- <!-- Create the build directory structure used by compile -->
- <mkdir dir="${build}"/>
- </target>
-
- <target name="compile" depends="init"
- description="compile the source " >
- <!-- Compile the java code from ${src} into ${build} -->
- <javac srcdir="${src}" destdir="${build}" source="1.6" target="1.6"
- classpathref="compile.classpath" />
- </target>
-
- <!-- Build JavaDoc documentation -->
- <target name="doc.prepare">
- <mkdir dir="${javadoc.dir}" />
- </target>
-
- <target name="javadoc" depends="doc.prepare">
- <javadoc destdir="${javadoc.dir}" packagenames="*"
- classpathref="compile.classpath"
- encoding="UTF-8"
- windowtitle="${plugin.name} JavaDoc"
- source="1.6">
- <sourcepath>
- <pathelement location="${src}" />
- </sourcepath>
- <link href="http://docs.oracle.com/javase/6/docs/api/" />
- <link href="http://gate.ac.uk/gate/doc/javadoc/" />
- </javadoc>
- </target>
-
-
- <target name="dist" depends="compile"
- description="generate the distribution" >
- <!-- Create the distribution directory -->
- <mkdir dir="${dist}/lib"/>
-
- <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
- <jar jarfile="${jar.location}" basedir="${build}"/>
- </target>
-
- <target name="clean.classes"
- description="clean up" >
- <!-- Delete the ${build} and ${dist} directory trees -->
- <delete dir="${build}"/>
- <delete dir="${dist}"/>
- </target>
-
- <target name="clean" depends="clean.classes" >
- <!-- full clean also removes the generated JAR file -->
- <delete file="${jar.location}" />
- </target>
-
- <!-- Targets used by the main GATE build file -->
- <target name="build" depends="dist" />
- <target name="test" />
- <target name="distro.prepare" depends="clean.classes" />
-</project>
-
Deleted: gate/branches/sawdust2/plugins/Lang_Romanian/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/creole.xml 2017-02-08
09:51:22 UTC (rev 20077)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/creole.xml 2017-02-08
10:29:53 UTC (rev 20078)
@@ -1,80 +0,0 @@
-<?xml version="1.0"?>
-<!-- $Id$ -->
-<!-- creole.xml directory file for Romanian Processing resources -->
-<CREOLE-DIRECTORY>
- <!-- Processing Resources -->
- <CREOLE>
- <JAR SCAN="true">romanian.jar</JAR>
- <!-- creole.xml for the Englishtokeniser -->
-
- <RESOURCE>
- <NAME>Romanian Tokeniser</NAME>
- <CLASS>romanian.RomanianTokeniser</CLASS>
- <COMMENT>A customisable Romanian tokeniser.</COMMENT>
- <PARAMETER NAME="document" COMMENT="The document to be tokenised"
- RUNTIME="true">gate.Document</PARAMETER>
- <PARAMETER NAME="annotationSetName" RUNTIME="true"
- COMMENT="The annotation set to be used for the generated annotations"
- OPTIONAL="true">java.lang.String</PARAMETER>
- <PARAMETER NAME="tokeniserRulesURL"
- DEFAULT="resources/Tokeniser/OBtokeniser.rules"
- COMMENT="The URL for the rules file" SUFFIXES="rules" >
- java.net.URL</PARAMETER>
- <PARAMETER NAME="encoding"
- COMMENT="The encoding used for reading the definitions"
DEFAULT="UTF-8">
- java.lang.String</PARAMETER>
- <PARAMETER NAME="transducerGrammarURL"
- DEFAULT="resources/Tokeniser/postprocess.jape"
- COMMENT="The URL for the postprocessing transducer" SUFFIXES="jape">
- java.net.URL</PARAMETER>
- <ICON>shefTokeniser.gif</ICON>
- </RESOURCE>
-
- <!-- creole.xml for gazetteer -->
- <RESOURCE>
- <NAME>Romanian Gazetteer</NAME>
- <CLASS>romanian.RomanianGazetteer</CLASS>
- <COMMENT>A list lookup component.</COMMENT>
- <PARAMETER NAME="document" RUNTIME="true"
- COMMENT="The document to be
processed">gate.corpora.DocumentImpl</PARAMETER>
- <PARAMETER NAME="annotationSetName" RUNTIME="true"
- COMMENT="The annotation set to be used for the generated annotations"
- OPTIONAL="true">java.lang.String</PARAMETER>
- <PARAMETER NAME="listsURL"
- DEFAULT="resources/Gazeteer/list.lst"
- COMMENT="The URL to the file with list of lists" SUFFIXES="def">
- java.net.URL</PARAMETER>
- <PARAMETER DEFAULT="UTF-8"
- COMMENT="The encoding used for reading the definitions"
NAME="encoding">
- java.lang.String</PARAMETER>
- <PARAMETER DEFAULT="true"
- COMMENT="Should this gazetteer diferentiate on case"
- NAME="caseSensitive">java.lang.Boolean</PARAMETER>
- <PARAMETER DEFAULT="true"
- COMMENT="Should this gazetteer only match whole words"
- NAME="wholeWordsOnly">java.lang.Boolean</PARAMETER>
- <ICON>shefGazetteer.gif</ICON>
- </RESOURCE>
-
- <!-- creole.xml for JapeTransducer -->
- <RESOURCE>
- <NAME>Romanian Transducer</NAME>
- <CLASS>romanian.RomanianTransducer</CLASS>
- <COMMENT>A module for executing Jape grammars</COMMENT>
- <PARAMETER NAME="document" RUNTIME="true"
- COMMENT="The document to be processed">gate.Document</PARAMETER>
- <PARAMETER NAME="inputASName" RUNTIME="true"
- COMMENT="The annotation set to be used as input for the transducer"
- OPTIONAL="true">java.lang.String</PARAMETER>
- <PARAMETER NAME="outputASName" RUNTIME="true"
- COMMENT="The annotation set to be used as output for the transducer"
- OPTIONAL="true">java.lang.String</PARAMETER>
- <PARAMETER NAME="grammarURL" COMMENT="The URL to the grammar file"
- DEFAULT="resources/Grammar/main.jape"
- SUFFIXES="jape">java.net.URL</PARAMETER>
- <PARAMETER NAME="encoding" DEFAULT="UTF-8"
- COMMENT="The encoding used for reading the grammar">
- java.lang.String</PARAMETER>
- </RESOURCE>
- </CREOLE>
-</CREOLE-DIRECTORY>
Added: gate/branches/sawdust2/plugins/Lang_Romanian/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/pom.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/pom.xml 2017-02-08
10:29:53 UTC (rev 20078)
@@ -0,0 +1,44 @@
+
+<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>
+ <relativePath>../../Plugin_Base/pom.xml</relativePath>
+ </parent>
+
+ <!-- this is the description of this plugin -->
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>lang-romanian</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 -->
+ <dependency>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>annie</artifactId>
+ <version>9.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Modified:
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianGazetteer.java
===================================================================
---
gate/branches/sawdust2/plugins/Lang_Romanian/src/romanian/RomanianGazetteer.java
2017-02-07 13:36:44 UTC (rev 20070)
+++
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianGazetteer.java
2017-02-08 10:29:53 UTC (rev 20078)
@@ -1,5 +1,25 @@
package romanian;
+
+import gate.creole.ResourceReference;
import gate.creole.gazetteer.DefaultGazetteer;
+import gate.creole.metadata.CreoleParameter;
+import gate.creole.metadata.CreoleResource;
+import gate.creole.metadata.Optional;
+@CreoleResource(name = "Romanian Gazetteer", comment = "A list lookup
component.")
public class RomanianGazetteer extends DefaultGazetteer {
+
+ private static final long serialVersionUID = 3284137978256832610L;
+
+ @Override
+ @CreoleParameter(defaultValue = "resources/Gazeteer/list.lst")
+ public void setListsURL(ResourceReference lists) {
+ super.setListsURL(lists);
+ }
+
+ @Optional
+ @CreoleParameter(defaultValue = "\t")
+ public void setGazetteerFeatureSeparator(String
gazetteerFeatureSeparator) {
+ super.setGazetteerFeatureSeparator(gazetteerFeatureSeparator);
+ }
}
\ No newline at end of file
Modified:
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTokeniser.java
===================================================================
---
gate/branches/sawdust2/plugins/Lang_Romanian/src/romanian/RomanianTokeniser.java
2017-02-07 13:36:44 UTC (rev 20070)
+++
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTokeniser.java
2017-02-08 10:29:53 UTC (rev 20078)
@@ -1,8 +1,25 @@
package romanian;
+import java.net.URL;
+
+import gate.creole.metadata.CreoleParameter;
+import gate.creole.metadata.CreoleResource;
import gate.creole.tokeniser.DefaultTokeniser;
+@CreoleResource(name = "Romanian Tokeniser", comment = "A customisable
Romanian tokeniser.")
public class RomanianTokeniser extends DefaultTokeniser {
+ private static final long serialVersionUID = 7816208836127678739L;
+ @Override
+ @CreoleParameter(defaultValue = "resources/Tokeniser/OBtokeniser.rules")
+ public void setTokeniserRulesURL(URL rules) {
+ super.setTokeniserRulesURL(rules);
+ }
+
+ @Override
+ @CreoleParameter(defaultValue = "resources/Tokeniser/postprocess.jape")
+ public void setTransducerGrammarURL(URL grammar) {
+ super.setTransducerGrammarURL(grammar);
+ }
}
\ No newline at end of file
Modified:
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTransducer.java
===================================================================
---
gate/branches/sawdust2/plugins/Lang_Romanian/src/romanian/RomanianTransducer.java
2017-02-07 13:36:44 UTC (rev 20070)
+++
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/java/romanian/RomanianTransducer.java
2017-02-08 10:29:53 UTC (rev 20078)
@@ -1,5 +1,18 @@
package romanian;
+
+import gate.creole.ResourceReference;
import gate.creole.Transducer;
+import gate.creole.metadata.CreoleParameter;
+import gate.creole.metadata.CreoleResource;
+@CreoleResource(name = "Romanian Transducer", comment = "A module for
executing Jape grammars")
public class RomanianTransducer extends Transducer {
+
+ private static final long serialVersionUID = -5848481918991024567L;
+
+ @Override
+ @CreoleParameter(defaultValue = "resources/Grammar/main.jape")
+ public void setGrammarURL(ResourceReference grammar) {
+ super.setGrammarURL(grammar);
+ }
}
\ No newline at end of file
Copied:
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/creole.xml
(from rev 20070, gate/branches/sawdust2/plugins/Lang_Romanian/creole.xml)
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/creole.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/creole.xml
2017-02-08 10:29:53 UTC (rev 20078)
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!-- creole.xml directory file for Romanian Processing resources -->
+<CREOLE-DIRECTORY>
+ <REQUIRES GROUP="uk.ac.gate.plugins" ARTIFACT="annie"
VERSION="9.0-SNAPSHOT"/>
+</CREOLE-DIRECTORY>
Modified:
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/resources/romanian.gapp
===================================================================
--- gate/branches/sawdust2/plugins/Lang_Romanian/resources/romanian.gapp
2017-02-07 13:36:44 UTC (rev 20070)
+++
gate/branches/sawdust2/plugins/Lang_Romanian/src/main/resources/resources/romanian.gapp
2017-02-08 10:29:53 UTC (rev 20078)
@@ -1,12 +1,16 @@
<gate.util.persistence.GateApplication>
<urlList class="gate.util.persistence.CollectionPersistence">
<localList>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$..</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../../ANNIE</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
+ <gate.creole.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>annie</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.creole.Plugin-Maven>
+ <gate.creole.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>lang-romanian</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.creole.Plugin-Maven>
</localList>
<collectionType>java.util.ArrayList</collectionType>
</urlList>
@@ -72,26 +76,7 @@
<resourceName>Romanian Gazetteer_00036</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>caseSensitive</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>wholeWordsOnly</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>listsURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$Gazeteer/list.lst</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -119,24 +104,7 @@
<resourceName>Romanian Tokeniser_0003A</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <entry>
- <string>tokeniserRulesURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$Tokeniser/OBtokeniser.rules</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>transducerGrammarURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$Tokeniser/postprocess.jape</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -168,18 +136,7 @@
<resourceName>Romanian Transducer_0003F</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$Grammar/main.jape</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
@@ -192,73 +149,13 @@
<pr class="gate.util.persistence.LanguageAnalyserPersistence">
<runtimeParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>document</string>
- <null/>
- </entry>
- <entry>
- <string>annotationSetName</string>
- <null/>
- </entry>
- <entry>
- <string>annotationTypes</string>
- <gate.util.persistence.CollectionPersistence>
- <localList>
- <string>Organization</string>
- <string>Person</string>
- <string>Location</string>
- <string>Date</string>
- </localList>
- <collectionType>java.util.ArrayList</collectionType>
- </gate.util.persistence.CollectionPersistence>
- </entry>
- </localMap>
+ <localMap/>
</runtimeParams>
<resourceType>gate.creole.orthomatcher.OrthoMatcher</resourceType>
<resourceName>ANNIE OrthoMatcher_00043</resourceName>
<initParams class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>caseSensitive</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>encoding</string>
- <string>UTF-8</string>
- </entry>
- <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>highPrecisionOrgs</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>organizationType</string>
- <string>Organization</string>
- </entry>
- <entry>
- <string>processUnknown</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>personType</string>
- <string>Person</string>
- </entry>
- <entry>
- <string>extLists</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>minimumNicknameLikelihood</string>
- <double>0.5</double>
- </entry>
- </localMap>
+ <localMap/>
</initParams>
<features class="gate.util.persistence.MapPersistence">
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs