From: <mar...@us...> - 2017-08-14 08:03:52
|
Revision: 20260 http://sourceforge.net/p/gate/code/20260 Author: markagreenwood Date: 2017-08-14 08:03:48 +0000 (Mon, 14 Aug 2017) Log Message: ----------- started to convert to maven Added Paths: ----------- gate/branches/sawdust2/plugins/Lang_French/pom.xml gate/branches/sawdust2/plugins/Lang_French/src/main/ gate/branches/sawdust2/plugins/Lang_French/src/main/java/ gate/branches/sawdust2/plugins/Lang_French/src/main/java/french/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/creole.xml gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/french+tagger.gapp gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/french.gapp gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/gazetteer/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/grammar/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/splitter/ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/tokeniser/ gate/branches/sawdust2/plugins/Lang_French/src/test/ gate/branches/sawdust2/plugins/Lang_French/src/test/java/ gate/branches/sawdust2/plugins/Lang_French/src/test/java/gate/ gate/branches/sawdust2/plugins/Lang_French/src/test/java/gate/creole/ gate/branches/sawdust2/plugins/Lang_French/src/test/java/gate/creole/GappLoadingTest.java gate/branches/sawdust2/plugins/Lang_French/src/test/resources/ gate/branches/sawdust2/plugins/Lang_French/src/test/resources/creole.properties Removed Paths: ------------- gate/branches/sawdust2/plugins/Lang_French/build.xml gate/branches/sawdust2/plugins/Lang_French/creole.xml gate/branches/sawdust2/plugins/Lang_French/french+tagger.gapp gate/branches/sawdust2/plugins/Lang_French/french.gapp gate/branches/sawdust2/plugins/Lang_French/gazetteer/ gate/branches/sawdust2/plugins/Lang_French/grammar/ gate/branches/sawdust2/plugins/Lang_French/splitter/ gate/branches/sawdust2/plugins/Lang_French/src/french/ gate/branches/sawdust2/plugins/Lang_French/tokeniser/ Deleted: gate/branches/sawdust2/plugins/Lang_French/build.xml =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/build.xml 2017-08-11 13:21:22 UTC (rev 20259) +++ gate/branches/sawdust2/plugins/Lang_French/build.xml 2017-08-14 08:03:48 UTC (rev 20260) @@ -1,89 +0,0 @@ -<project name="french" default="dist" basedir="."> - <description> - A plugin for Multilingual data [French] - </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="jar.location" location="french.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" /> - <property name="gate.compile.maxwarnings" value="10000" /> - - <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"> - <compilerarg value="-Xmaxwarns" /> - <compilerarg value="${gate.compile.maxwarnings}" /> - <compilerarg value="-Xlint:all" /> - </javac> - </target> - - <target name="dist" depends="compile" - description="generate the distribution" > - - <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> - <jar jarfile="${jar.location}" basedir="${build}"/> - </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="clean.classes" - description="clean up" > - <!-- Delete the ${build} directory tree --> - <delete dir="${build}"/> - </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_French/creole.xml =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/creole.xml 2017-08-11 13:21:22 UTC (rev 20259) +++ gate/branches/sawdust2/plugins/Lang_French/creole.xml 2017-08-14 08:03:48 UTC (rev 20260) @@ -1,3 +0,0 @@ -<CREOLE-DIRECTORY> - <JAR SCAN="true">french.jar</JAR> -</CREOLE-DIRECTORY> Deleted: gate/branches/sawdust2/plugins/Lang_French/french+tagger.gapp =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/french+tagger.gapp 2017-08-11 13:21:22 UTC (rev 20259) +++ gate/branches/sawdust2/plugins/Lang_French/french+tagger.gapp 2017-08-14 08:03:48 UTC (rev 20260) @@ -1,499 +0,0 @@ -<gate.util.persistence.GateApplication> - <urlList class="gate.util.persistence.CollectionPersistence"> - <localList> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$../Tagger_Framework</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$../ANNIE</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </urlList> - <application class="gate.util.persistence.SerialAnalyserControllerPersistence"> - <prList class="gate.util.persistence.CollectionPersistence"> - <localList> - <gate.util.persistence.PRPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>setsToKeep</string> - <gate.util.persistence.CollectionPersistence> - <localList> - <string>Key</string> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </gate.util.persistence.CollectionPersistence> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>annotationTypes</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>keepOriginalMarkupsAS</string> - <boolean>true</boolean> - </entry> - <entry> - <string>setsToRemove</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType> - <resourceName>Document Reset</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.PRPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>annotationSetName</string> - <string></string> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.tokeniser.SimpleTokeniser</resourceType> - <resourceName>French Tokeniser</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>rulesURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$tokeniser/FrenchTokeniser.rules</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>wholeWordsOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>longestMatchOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>annotationSetName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.gazetteer.DefaultGazetteer</resourceType> - <resourceName>French Gazetteer</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>gazetteerFeatureSeparator</string> - <null/> - </entry> - <entry> - <string>listsURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>true</boolean> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType> - <resourceName>RegEx Sentence 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>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>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> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>ontology</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.Transducer</resourceType> - <resourceName>Adapt Tokeniser to Tagger</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$tokeniser/postprocess.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>binaryGrammarURL</string> - <null/> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - <gate.util.persistence.PRPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputAnnotationType</string> - <string>Token</string> - </entry> - <entry> - <string>regex</string> - <string>(.+) (.+) (.+)</string> - </entry> - <entry> - <string>inputASName</string> - <string></string> - </entry> - <entry> - <string>featureMapping</string> - <gate.util.persistence.MapPersistence> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>lemma</string> - <string>3</string> - </entry> - <entry> - <string>category</string> - <string>2</string> - </entry> - <entry> - <string>string</string> - <string>1</string> - </entry> - </localMap> - </gate.util.persistence.MapPersistence> - </entry> - <entry> - <string>updateAnnotations</string> - <boolean>true</boolean> - </entry> - <entry> - <string>debug</string> - <boolean>false</boolean> - </entry> - <entry> - <string>taggerBinary</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$../../../../../../usr/local/treetagger-3.2/cmd/tree-tagger-french-utf8</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>inputAnnotationType</string> - <string>Token</string> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>taggerDir</string> - <null/> - </entry> - <entry> - <string>failOnUnmappableCharacter</string> - <boolean>false</boolean> - </entry> - <entry> - <string>outputASName</string> - <string></string> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>taggerFlags</string> - <gate.util.persistence.CollectionPersistence> - <localList/> - <collectionType>java.util.ArrayList</collectionType> - </gate.util.persistence.CollectionPersistence> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.taggerframework.GenericTagger</resourceType> - <resourceName>TreeTagger-FR-NoTokenization</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>preProcessURL</string> - <null/> - </entry> - <entry> - <string>postProcessURL</string> - <null/> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.PRPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.ANNIETransducer</resourceType> - <resourceName>French Grammar</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$grammar/main.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - <gate.util.persistence.LanguageAnalyserPersistence> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>annotationSetName</string> - <string></string> - </entry> - <entry> - <string>document</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> - </runtimeParams> - <resourceType>gate.creole.orthomatcher.OrthoMatcher</resourceType> - <resourceName>ANNIE 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>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>false</boolean> - </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> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </gate.util.persistence.LanguageAnalyserPersistence> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </prList> - <resourceType>gate.creole.SerialAnalyserController</resourceType> - <resourceName>French NE</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </application> -</gate.util.persistence.GateApplication> \ No newline at end of file Deleted: gate/branches/sawdust2/plugins/Lang_French/french.gapp =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/french.gapp 2017-08-11 13:21:22 UTC (rev 20259) +++ gate/branches/sawdust2/plugins/Lang_French/french.gapp 2017-08-14 08:03:48 UTC (rev 20260) @@ -1,354 +0,0 @@ -<gate.util.persistence.GateApplication> - <urlList class="gate.util.persistence.CollectionPersistence"> - <localList> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$../ANNIE</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$.</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </urlList> - <application class="gate.util.persistence.ConditionalControllerPersistence"> - <strategiesList class="gate.util.persistence.CollectionPersistence"> - <localList> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.PRPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>setsToKeep</string> - <gate.util.persistence.CollectionPersistence> - <localList> - <string>Key</string> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </gate.util.persistence.CollectionPersistence> - </entry> - <entry> - <string>annotationTypes</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType> - <resourceName>reset</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>annotationSetName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.tokeniser.SimpleTokeniser</resourceType> - <resourceName>French tokeniser</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>rulesURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$tokeniser/FrenchTokeniser.rules</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.Transducer</resourceType> - <resourceName>tokeniser postprocess</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>ontology</string> - <null/> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>grammarURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$tokeniser/postprocess.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.splitter.SentenceSplitter</resourceType> - <resourceName>no-space 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$splitter/gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>transducerURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$splitter/grammar/main.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>annotationSetName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.gazetteer.DefaultGazetteer</resourceType> - <resourceName>French gazetteer</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$gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - </localMap> - </runtimeParams> - <resourceType>gate.creole.ANNIETransducer</resourceType> - <resourceName>French grammar</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> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - <gate.util.persistence.AnalyserRunningStrategyPersistence> - <runMode>1</runMode> - <pr class="gate.util.persistence.LanguageAnalyserPersistence"> - <runtimeParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <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> - </runtimeParams> - <resourceType>gate.creole.orthomatcher.OrthoMatcher</resourceType> - <resourceName>ANNIE OrthoMatcher_00149</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>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> - </localMap> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </features> - </pr> - </gate.util.persistence.AnalyserRunningStrategyPersistence> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </strategiesList> - <prList class="gate.util.persistence.CollectionPersistence"> - <localList> - <gate.util.persistence.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[2]/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[3]/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[4]/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[5]/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[6]/pr"/> - <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[7]/pr"/> - </localList> - <collectionType>java.util.ArrayList</collectionType> - </prList> - <resourceType>gate.creole.ConditionalSerialAnalyserController</resourceType> - <resourceName>French NE</resourceName> - <initParams class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap/> - </initParams> - <features class="gate.util.persistence.MapPersistence"> - <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>gate.app.MetadataURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$.french-pipeline-metadata/metadata.xml</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> - </features> - </application> -</gate.util.persistence.GateApplication> Added: gate/branches/sawdust2/plugins/Lang_French/pom.xml =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/pom.xml (rev 0) +++ gate/branches/sawdust2/plugins/Lang_French/pom.xml 2017-08-14 08:03:48 UTC (rev 20260) @@ -0,0 +1,43 @@ + +<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</groupId> + <artifactId>gate-plugin-base</artifactId> + <!-- this should be the version of GATE you wish to build against --> + <version>8.5-SNAPSHOT</version> + + <!-- this forces the parent to always be resolved from the repo --> + <relativePath></relativePath> + </parent> + + <!-- this is the description of this plugin --> + <groupId>uk.ac.gate.plugins</groupId> + <artifactId>lang-french</artifactId> + <version>8.5-SNAPSHOT</version> + + <licenses> + <license> + <!-- this is the license we usually use for plugins but feel free to change + this if you feel a different license would be more suitable for your plugin --> + <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> + + <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>8.5-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + </dependencies> + +</project> Copied: gate/branches/sawdust2/plugins/Lang_French/src/main/resources/creole.xml (from rev 20259, gate/branches/sawdust2/plugins/Lang_French/creole.xml) =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/src/main/resources/creole.xml (rev 0) +++ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/creole.xml 2017-08-14 08:03:48 UTC (rev 20260) @@ -0,0 +1,3 @@ +<CREOLE-DIRECTORY> + +</CREOLE-DIRECTORY> Copied: gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/french+tagger.gapp (from rev 20259, gate/branches/sawdust2/plugins/Lang_French/french+tagger.gapp) =================================================================== --- gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/french+tagger.gapp (rev 0) +++ gate/branches/sawdust2/plugins/Lang_French/src/main/resources/resources/french+tagger.gapp 2017-08-14 08:03:48 UTC (rev 20260) @@ -0,0 +1,499 @@ +<gate.util.persistence.GateApplication> + <urlList class="gate.util.persistence.CollectionPersistence"> + <localList> + <gate.util.persistence.PersistenceManager-URLHolder> + <urlString>$relpath$../Tagger_Framework</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + <gate.util.persistence.PersistenceManager-URLHolder> + <urlString>$relpath$../ANNIE</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + </localList> + <collectionType>java.util.ArrayList</collectionType> + </urlList> + <application class="gate.util.persistence.SerialAnalyserControllerPersistence"> + <prList class="gate.util.persistence.CollectionPersistence"> + <localList> + <gate.util.persistence.PRPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>setsToKeep</string> + <gate.util.persistence.CollectionPersistence> + <localList> + <string>Key</string> + </localList> + <collectionType>java.util.ArrayList</collectionType> + </gate.util.persistence.CollectionPersistence> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + <entry> + <string>annotationTypes</string> + <null/> + </entry> + <entry> + <string>corpus</string> + <null/> + </entry> + <entry> + <string>keepOriginalMarkupsAS</string> + <boolean>true</boolean> + </entry> + <entry> + <string>setsToRemove</string> + <null/> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType> + <resourceName>Document Reset</resourceName> + <initParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </initParams> + <features class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </features> + </gate.util.persistence.PRPersistence> + <gate.util.persistence.LanguageAnalyserPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>annotationSetName</string> + <string></string> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.creole.tokeniser.SimpleTokeniser</resourceType> + <resourceName>French Tokeniser</resourceName> + <initParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>rulesURL</string> + <gate.util.persistence.PersistenceManager-URLHolder> + <urlString>$relpath$tokeniser/FrenchTokeniser.rules</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + </entry> + <entry> + <string>encoding</string> + <string>UTF-8</string> + </entry> + </localMap> + </initParams> + <features class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </features> + </gate.util.persistence.LanguageAnalyserPersistence> + <gate.util.persistence.LanguageAnalyserPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>wholeWordsOnly</string> + <boolean>true</boolean> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + <entry> + <string>longestMatchOnly</string> + <boolean>true</boolean> + </entry> + <entry> + <string>annotationSetName</string> + <null/> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.creole.gazetteer.DefaultGazetteer</resourceType> + <resourceName>French Gazetteer</resourceName> + <initParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>gazetteerFeatureSeparator</string> + <null/> + </entry> + <entry> + <string>listsURL</string> + <gate.util.persistence.PersistenceManager-URLHolder> + <urlString>$relpath$gazetteer/lists.def</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + </entry> + <entry> + <string>caseSensitive</string> + <boolean>true</boolean> + </entry> + <entry> + <string>encoding</string> + <string>UTF-8</string> + </entry> + </localMap> + </initParams> + <features class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </features> + </gate.util.persistence.LanguageAnalyserPersistence> + <gate.util.persistence.LanguageAnalyserPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>outputASName</string> + <null/> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType> + <resourceName>RegEx Sentence 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>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>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> + </initParams> + <features class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </features> + </gate.util.persistence.LanguageAnalyserPersistence> + <gate.util.persistence.LanguageAnalyserPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>outputASName</string> + <null/> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + <entry> + <string>ontology</string> + <null/> + </entry> + <entry> + <string>inputASName</string> + <null/> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.creole.Transducer</resourceType> + <resourceName>Adapt Tokeniser to Tagger</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$tokeniser/postprocess.jape</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + </entry> + <entry> + <string>binaryGrammarURL</string> + <null/> + </entry> + </localMap> + </initParams> + <features class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap/> + </features> + </gate.util.persistence.LanguageAnalyserPersistence> + <gate.util.persistence.PRPersistence> + <runtimeParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>outputAnnotationType</string> + <string>Token</string> + </entry> + <entry> + <string>regex</string> + <string>(.+) (.+) (.+)</string> + </entry> + <entry> + <string>inputASName</string> + <string></string> + </entry> + <entry> + <string>featureMapping</string> + <gate.util.persistence.MapPersistence> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>lemma</string> + <string>3</string> + </entry> + <entry> + <string>category</string> + <string>2</string> + </entry> + <entry> + <string>string</string> + <string>1</string> + </entry> + </localMap> + </gate.util.persistence.MapPersistence> + </entry> + <entry> + <string>updateAnnotations</string> + <boolean>true</boolean> + </entry> + <entry> + <string>debug</string> + <boolean>false</boolean> + </entry> + <entry> + <string>taggerBinary</string> + <gate.util.persistence.PersistenceManager-URLHolder> + <urlString>$relpath$../../../../../../usr/local/treetagger-3.2/cmd/tree-tagger-french-utf8</urlString> + </gate.util.persistence.PersistenceManager-URLHolder> + </entry> + <entry> + <string>inputAnnotationType</string> + <string>Token</string> + </entry> + <entry> + <string>document</string> + <null/> + </entry> + <entry> + <string>corpus</string> + <null/> + </entry> + <entry> + <string>taggerDir</string> + <null/> + </entry> + <entry> + <string>failOnUnmappableCharacter</string> + <boolean>false</boolean> + </entry> + <entry> + <string>outputASName</string> + <string></string> + </entry> + <entry> + <string>encoding</string> + <string>UTF-8</string> + </entry> + <entry> + <string>taggerFlags</string> + <gate.util.persistence.CollectionPersistence> + <localList/> + <collectionType>java.util.ArrayList</collectionType> + </gate.util.persistence.CollectionPersistence> + </entry> + </localMap> + </runtimeParams> + <resourceType>gate.taggerframework.GenericTagger</resourceType> + <resourceName>TreeTagger-FR-NoTokenization</resourceName> + <initParams class="gate.util.persistence.MapPersistence"> + <mapType>gate.util.SimpleFeatureMapImpl</mapType> + <localMap> + <entry> + <string>preProcessURL</string> + ... [truncated message content] |