Revision: 20263 http://sourceforge.net/p/gate/code/20263 Author: markagreenwood Date: 2017-08-14 08:59:09 +0000 (Mon, 14 Aug 2017) Log Message: ----------- mavenized
Modified Paths: -------------- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/de/mpii/nlp/gate/heideltime/HeideltimeWrapper.java gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-application.gapp gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-training.gapp gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/savedFiles/logFileForNLPLearning.save Added Paths: ----------- gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.md gate/branches/sawdust2/plugins/Tagger_GATE-Time/pom.xml gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/de/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/gate/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/creole.xml gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/config.props gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/creole/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/creole/GappLoadingTest.java gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/resources/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/resources/creole.properties Removed Paths: ------------- gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.txt gate/branches/sawdust2/plugins/Tagger_GATE-Time/build.xml gate/branches/sawdust2/plugins/Tagger_GATE-Time/config.props gate/branches/sawdust2/plugins/Tagger_GATE-Time/creole.xml gate/branches/sawdust2/plugins/Tagger_GATE-Time/lib/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/resources/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/de/ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/gate/ Copied: gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.md (from rev 20262, gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.txt) =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.md (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.md 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,2 @@ +This plugin includes HeidelTime developed by Heidelberg University which is +available under the GNU GPL. For more details see https://github.com/HeidelTime/heideltime \ No newline at end of file Deleted: gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.txt =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.txt 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/README.txt 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,2 +0,0 @@ -This plugin includes HeidelTime developed by Heidelberg University which is -available under the GNU GPL. For more details see https://github.com/HeidelTime/heideltime \ No newline at end of file Deleted: gate/branches/sawdust2/plugins/Tagger_GATE-Time/build.xml =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/build.xml 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/build.xml 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,180 +0,0 @@ -<!--====================================================================== - - Build file for Tagger_Heideltime - - This file will allow you to build your plugin with Ant. If you do not - have an Ant installation of your own, you can use the one supplied with - GATE by running - - {gate.home}/bin/ant - - or, on Windows - - {gate.home}\bin\ant - - where {gate.home} is the directory in which GATE was installed. - -=======================================================================--> -<project name="Tagger_GATE-Time" basedir="." default="all"> - - <property file="build.properties" /> - - <!--======================================================= - Property settings. You should not need to edit these - directly, if you need to set a different value for any - property you should edit build.properties and override - them there. - ========================================================--> - - <!-- Name of the plugin --> - <property name="plugin.name" value="Tagger_GATE-Time"/> - - <!-- Make environment variables available --> - <property environment="env" /> - - <!-- If environment variable GATE_HOME is set, use it for - gate.home (unless it was already set in build.properties --> - <condition property="gate.home" value="${env.GATE_HOME}"> - <isset property="env.GATE_HOME"/> - </condition> - - <!-- If gate.home is not set from build.properties or the - environment variable GATE_HOME, assume that this - plugin is in GATE Developer's plugin directory --> - <property name="gate.home" location="../.." /> - - <!-- location of GATE lib directory - should be inferred from gate.home --> - <property name="gate.lib" location="${gate.home}/lib" /> - - <!-- location of gate.jar - should be inferred from gate.home --> - <property name="gate.jar" location="${gate.home}/bin/gate.jar" /> - - <!-- Source directory - contains the Java source files for this plugin --> - <property name="src.dir" location="src" /> - - <!-- directory to contain the compiled classes --> - <property name="classes.dir" location="classes" /> - - <!-- documentation directory --> - <property name="doc.dir" location="doc" /> - - <!-- JavaDoc documentation directory --> - <property name="javadoc.dir" location="${doc.dir}/javadoc" /> - - <!-- lib directory - put any additional JAR files your plugin requires into - this directory. You will also need to add them as <JAR> entries in - creole.xml --> - <property name="lib.dir" location="lib" /> - - <!-- location for the generated JAR file --> - <property name="jar.location" location="gate-time.jar" /> - - - - <!-- Classpath to compile - includes gate.jar, GATE/lib/*.jar and any local - library JAR files. --> - <path id="compile.classpath"> - <pathelement location="${gate.jar}" /> - <fileset dir="${gate.lib}"> - <include name="**/*.jar" /> - <include name="**/*.zip" /> - </fileset> - <fileset dir="${lib.dir}" includes="**/*.jar" /> - </path> - - <!--====================== Targets ============================--> - - <!-- create build directory structure --> - <target name="prepare"> - <mkdir dir="${classes.dir}" /> - </target> - - <!-- compile the source --> - <target name="compile" depends="prepare"> - <javac classpathref="compile.classpath" - srcdir="${src.dir}" - destdir="${classes.dir}" - debug="true" - debuglevel="lines,source" - encoding="UTF-8" - source="1.7" - target="1.7"> - <compilerarg value="-Xmaxwarns" /> - <compilerarg value="${gate.compile.maxwarnings}" /> - <compilerarg value="-Xlint:all" /> - </javac> - </target> - - <!-- copy resources (anything non-.java) from src to classes --> - <target name="copy.resources" depends="prepare"> - <copy todir="${classes.dir}"> - <fileset dir="${src.dir}" excludes="**/*.java" /> - </copy> - </target> - - <!-- create the JAR file --> - <target name="jar" depends="compile, copy.resources" > - <jar destfile="${jar.location}" - update="false" - basedir="${classes.dir}" /> - </target> - - <!-- remove the generated .class files --> - <target name="clean.classes" > - <delete dir="${classes.dir}" /> - </target> - - <!-- clean resources generated by tests --> - <target name="clean.tests"> - <delete> - <fileset dir="." includes="TEST*.xml" /> - </delete> - </target> - - <!-- Clean up - remove .class and .jar files --> - <target name="clean" depends="clean.classes, clean.tests" > - <delete file="${jar.location}" /> - </target> - - <!-- Clean up everything, including Javadoc --> - <target name="docclean" depends="clean, clean.javadoc" > - </target> - - <!-- Build JavaDoc documentation --> - <target name="doc.prepare"> - <mkdir dir="${javadoc.dir}" /> - </target> - - <!-- Clean JavaDoc documentation --> - <target name="clean.javadoc"> - <delete 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.7"> - <sourcepath> - <pathelement location="${src.dir}" /> - </sourcepath> - <link href="https://docs.oracle.com/javase/7/docs/api/" /> - <link href="../../../../doc/javadoc/" /> - </javadoc> - </target> - - <!-- Build everything - the code and JavaDoc --> - <target name="all" depends="jar, javadoc" /> - - <!-- Other 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, clean.tests" /> - -</project> Deleted: gate/branches/sawdust2/plugins/Tagger_GATE-Time/config.props =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/config.props 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/config.props 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,74 +0,0 @@ -################################ -## MAIN ## -################################ -# Consideration of different timex3-types -# Date -considerDate = true - -# Duration -considerDuration = true - -# Set -considerSet = true - -# Time -considerTime = true - - -################################### -# Path to TreeTagger home directory -################################### -# Ensure there is no white space in path (try to escape white spaces) -# treeTaggerHome = SET ME IN CONFIG.PROPS!, e.g., me it is: -treeTaggerHome = /local/home/jstroetge/data/heideltime-forever/heideltime/treetagger -# This one is only necessary if you want to process chinese documents. -chineseTokenizerPath = SET ME IN CONFIG.PROPS! - -################################## -# paths to JVnTextPro model paths: -################################## -sent_model_path = SET ME IN CONFIG.PROPS! -word_model_path = SET ME IN CONFIG.PROPS! -pos_model_path = SET ME IN CONFIG.PROPS! - -##################################################### -# paths to Stanford POS Tagger model or config files: -##################################################### -model_path = SET ME IN CONFIG.PROPS! -# leave this unset if you do not need one -config_path = - -######################################## -## paths to hunpos and its tagger files: -######################################## -hunpos_path = SET ME IN CONFIG.PROPS! -hunpos_model_name = SET ME IN CONFIG.PROPS! - - - -# DO NOT CHANGE THE FOLLOWING -################################ -# Relative path of type system in HeidelTime home directory -typeSystemHome = desc/type/HeidelTime_TypeSystem.xml - -# Relative path of dkpro type system in HeidelTime home directory -typeSystemHome_DKPro = desc/type/DKPro_TypeSystem.xml - -# Name of uima-context variables... -# ...for date-consideration -uimaVarDate = Date - -# ...for duration-consideration -uimaVarDuration = Duration - -# ...for language -uimaVarLanguage = Language - -# ...for set-consideration -uimaVarSet = Set - -# ...for time-consideration -uimaVarTime = Time - -# ...for type to process -uimaVarTypeToProcess = Type Deleted: gate/branches/sawdust2/plugins/Tagger_GATE-Time/creole.xml =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/creole.xml 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/creole.xml 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,6 +0,0 @@ - -<CREOLE-DIRECTORY> - <JAR SCAN="true">gate-time.jar</JAR> - <JAR>lib/de.unihd.dbs.heideltime.standalone.jar</JAR> - <JAR>lib/uima-core.jar</JAR> -</CREOLE-DIRECTORY> Added: gate/branches/sawdust2/plugins/Tagger_GATE-Time/pom.xml =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/pom.xml (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/pom.xml 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,47 @@ + +<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>tagger-gate-time</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 General Public License (GPL), Version 3</name> + <url>http://www.gnu.org/licenses/gpl-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>org.apache.uima</groupId> + <artifactId>uimaj-core</artifactId> + <version>2.8.1</version> + </dependency> + <dependency> + <groupId>com.github.heideltime</groupId> + <artifactId>heideltime</artifactId> + <version>2.2.1</version> + </dependency> + </dependencies> + +</project> Modified: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/de/mpii/nlp/gate/heideltime/HeideltimeWrapper.java =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/de/mpii/nlp/gate/heideltime/HeideltimeWrapper.java 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/java/de/mpii/nlp/gate/heideltime/HeideltimeWrapper.java 2017-08-14 08:59:09 UTC (rev 20263) @@ -657,7 +657,7 @@ return dctAnnotation; } - @CreoleParameter(comment="Location of the 'config.props' file (distributed with HeidelTime standalone)", + @CreoleParameter(comment="Location of the 'resources/config.props' file (distributed with HeidelTime standalone)", defaultValue="config.props") public void setConfigFile(URL configFile) { this.configFile = configFile; Copied: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/creole.xml (from rev 20262, gate/branches/sawdust2/plugins/Tagger_GATE-Time/creole.xml) =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/creole.xml (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/creole.xml 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,4 @@ + +<CREOLE-DIRECTORY> + +</CREOLE-DIRECTORY> Modified: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-application.gapp =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/resources/applications/tml-events-ml-application.gapp 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-application.gapp 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,20 +1,28 @@ <gate.util.persistence.GateApplication> <urlList class="gate.util.persistence.CollectionPersistence"> <localList> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Tools</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Learning</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Groovy</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>annie</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>tools</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>learning</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>groovy</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> </localList> - <collectionType>java.util.ArrayList</collectionType> + <collectionType>java.util.Collections$UnmodifiableSet</collectionType> </urlList> <application class="gate.util.persistence.ConditionalSerialAnalyserControllerPersistence"> <strategiesList class="gate.util.persistence.CollectionPersistence"> @@ -23,40 +31,10 @@ <runMode>1</runMode> <featureName></featureName> <featureValue></featureValue> - <pr class="gate.util.persistence.PRPersistence"> + <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <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>keepOriginalMarkupsAS</string> - <boolean>true</boolean> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>setsToRemove</string> - <null/> - </entry> - <entry> - <string>annotationTypes</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType> <resourceName>docReset</resourceName> @@ -82,43 +60,13 @@ <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>corpus</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.tokeniser.DefaultTokeniser</resourceType> <resourceName>tokenizer</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>$gatehome$plugins/ANNIE/resources/tokeniser/DefaultTokeniser.rules</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>transducerGrammarURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/tokeniser/postprocess.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -138,24 +86,7 @@ <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.splitter.SentenceSplitter</resourceType> <resourceName>splitter</resourceName> @@ -163,20 +94,10 @@ <mapType>gate.util.SimpleFeatureMapImpl</mapType> <localMap> <entry> - <string>gazetteerListsURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/sentenceSplitter/gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> <string>transducerURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/sentenceSplitter/grammar/main.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> + <gate.util.persistence.PersistenceManager-RRPersistence> + <uriString>creole://uk.ac.gate.plugins;annie;8.5-SNAPSHOT/resources/sentenceSplitter/grammar/main.jape</uriString> + </gate.util.persistence.PersistenceManager-RRPersistence> </entry> </localMap> </initParams> @@ -198,67 +119,13 @@ <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>failOnMissingInputAnnotations</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>posTagAllTokens</string> - <boolean>true</boolean> - </entry> - <entry> - <string>baseTokenAnnotationType</string> - <string>Token</string> - </entry> - <entry> - <string>baseSentenceAnnotationType</string> - <string>Sentence</string> - </entry> - <entry> - <string>outputAnnotationType</string> - <string>Token</string> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.POSTagger</resourceType> <resourceName>posTagger</resourceName> <initParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>encoding</string> - <null/> - </entry> - <entry> - <string>lexiconURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/heptag/lexicon</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>rulesURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/heptag/ruleset</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -275,56 +142,16 @@ <runMode>1</runMode> <featureName></featureName> <featureValue></featureValue> - <pr class="gate.util.persistence.PRPersistence"> + <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>affixFeatureName</string> - <string>affix</string> - </entry> - <entry> - <string>annotationSetName</string> - <null/> - </entry> - <entry> - <string>failOnMissingInputAnnotations</string> - <boolean>true</boolean> - </entry> - <entry> - <string>rootFeatureName</string> - <string>root</string> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>considerPOSTag</string> - <boolean>true</boolean> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.morph.Morph</resourceType> <resourceName>lemmatizer</resourceName> <initParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>rulesFile</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Tools/resources/morph/default.rul</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>false</boolean> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -339,8 +166,7 @@ </entry> <entry> <string>@comment</string> - <string>Even if the ML config doesn't use Token.root, leave this is in so the postprocessing JAPE can create the EVENT.stem feature. -</string> + <string>Even if the ML config doesn't use Token.root, leave this is in so the postprocessing JAPE can create the EVENT.stem feature.</string> </entry> </localMap> </features> @@ -353,28 +179,7 @@ <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>corpus</string> - <null/> - </entry> - <entry> - <string>longestMatchOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>wholeWordsOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.gazetteer.DefaultGazetteer</resourceType> <resourceName>annieGazetteer</resourceName> @@ -385,20 +190,6 @@ <string>gazetteerFeatureSeparator</string> <null/> </entry> - <entry> - <string>listsURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>true</boolean> - </entry> </localMap> </initParams> <features class="gate.util.persistence.MapPersistence"> @@ -421,22 +212,10 @@ <mapType>gate.util.SimpleFeatureMapImpl</mapType> <localMap> <entry> - <string>corpus</string> - <null/> - </entry> - <entry> <string>outputASName</string> <string></string> </entry> <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>runProtocolDir</string> - <null/> - </entry> - <entry> <string>learningMode</string> <gate.learning.RunMode>APPLICATION</gate.learning.RunMode> </entry> @@ -481,32 +260,7 @@ <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>enableDebugging</string> - <boolean>false</boolean> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>ontology</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.Transducer</resourceType> <resourceName>postprocessing</resourceName> @@ -514,27 +268,11 @@ <mapType>gate.util.SimpleFeatureMapImpl</mapType> <localMap> <entry> - <string>binaryGrammarURL</string> - <null/> - </entry> - <entry> - <string>annotationAccessors</string> - <null/> - </entry> - <entry> <string>grammarURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$relpath$../ml-events/postproc-main.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> + <gate.util.persistence.PersistenceManager-RRPersistence> + <uriString>$relpath$../ml-events/postproc-main.jape</uriString> + </gate.util.persistence.PersistenceManager-RRPersistence> </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>operators</string> - <null/> - </entry> </localMap> </initParams> <features class="gate.util.persistence.MapPersistence"> @@ -552,8 +290,7 @@ <string>@comment</string> <string>Add "stem" feature to each EVENT annotation. -This is a multiphase grammar with only 1 phase, in case we need to add more postprocessing later. -</string> +This is a multiphase grammar with only 1 phase, in case we need to add more postprocessing later.</string> </entry> </localMap> </features> @@ -564,11 +301,11 @@ </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/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.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[5]/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.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[7]/pr"/> <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[8]/pr"/> @@ -581,5 +318,9 @@ <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> +</gate.util.persistence.GateApplication> \ No newline at end of file Modified: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-training.gapp =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/resources/applications/tml-events-ml-training.gapp 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/applications/tml-events-ml-training.gapp 2017-08-14 08:59:09 UTC (rev 20263) @@ -1,20 +1,28 @@ <gate.util.persistence.GateApplication> <urlList class="gate.util.persistence.CollectionPersistence"> <localList> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Tools</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Learning</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Groovy</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>annie</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>tools</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>learning</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> + <gate.creole.Plugin-Maven> + <group>uk.ac.gate.plugins</group> + <artifact>groovy</artifact> + <version>8.5-SNAPSHOT</version> + </gate.creole.Plugin-Maven> </localList> - <collectionType>java.util.ArrayList</collectionType> + <collectionType>java.util.Collections$UnmodifiableSet</collectionType> </urlList> <application class="gate.util.persistence.ConditionalSerialAnalyserControllerPersistence"> <strategiesList class="gate.util.persistence.CollectionPersistence"> @@ -23,40 +31,10 @@ <runMode>1</runMode> <featureName></featureName> <featureValue></featureValue> - <pr class="gate.util.persistence.PRPersistence"> + <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <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>keepOriginalMarkupsAS</string> - <boolean>true</boolean> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>setsToRemove</string> - <null/> - </entry> - <entry> - <string>annotationTypes</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType> <resourceName>docReset</resourceName> @@ -82,43 +60,13 @@ <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>corpus</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.tokeniser.DefaultTokeniser</resourceType> <resourceName>tokenizer</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>$gatehome$plugins/ANNIE/resources/tokeniser/DefaultTokeniser.rules</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>transducerGrammarURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/tokeniser/postprocess.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -138,24 +86,7 @@ <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.splitter.SentenceSplitter</resourceType> <resourceName>splitter</resourceName> @@ -163,20 +94,10 @@ <mapType>gate.util.SimpleFeatureMapImpl</mapType> <localMap> <entry> - <string>gazetteerListsURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/sentenceSplitter/gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> <string>transducerURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/sentenceSplitter/grammar/main.jape</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> + <gate.util.persistence.PersistenceManager-RRPersistence> + <uriString>creole://uk.ac.gate.plugins;annie;8.5-SNAPSHOT/resources/sentenceSplitter/grammar/main.jape</uriString> + </gate.util.persistence.PersistenceManager-RRPersistence> </entry> </localMap> </initParams> @@ -198,67 +119,13 @@ <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>failOnMissingInputAnnotations</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>posTagAllTokens</string> - <boolean>true</boolean> - </entry> - <entry> - <string>baseTokenAnnotationType</string> - <string>Token</string> - </entry> - <entry> - <string>baseSentenceAnnotationType</string> - <string>Sentence</string> - </entry> - <entry> - <string>outputAnnotationType</string> - <string>Token</string> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.POSTagger</resourceType> <resourceName>posTagger</resourceName> <initParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>encoding</string> - <null/> - </entry> - <entry> - <string>lexiconURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/heptag/lexicon</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>rulesURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/heptag/ruleset</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -275,56 +142,16 @@ <runMode>1</runMode> <featureName></featureName> <featureValue></featureValue> - <pr class="gate.util.persistence.PRPersistence"> + <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>affixFeatureName</string> - <string>affix</string> - </entry> - <entry> - <string>annotationSetName</string> - <null/> - </entry> - <entry> - <string>failOnMissingInputAnnotations</string> - <boolean>true</boolean> - </entry> - <entry> - <string>rootFeatureName</string> - <string>root</string> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>considerPOSTag</string> - <boolean>true</boolean> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.morph.Morph</resourceType> <resourceName>lemmatizer</resourceName> <initParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>rulesFile</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/Tools/resources/morph/default.rul</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>false</boolean> - </entry> - </localMap> + <localMap/> </initParams> <features class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> @@ -344,28 +171,7 @@ <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>corpus</string> - <null/> - </entry> - <entry> - <string>longestMatchOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>wholeWordsOnly</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.creole.gazetteer.DefaultGazetteer</resourceType> <resourceName>annieGazetteer</resourceName> @@ -376,20 +182,6 @@ <string>gazetteerFeatureSeparator</string> <null/> </entry> - <entry> - <string>listsURL</string> - <gate.util.persistence.PersistenceManager-URLHolder> - <urlString>$gatehome$plugins/ANNIE/resources/gazetteer/lists.def</urlString> - </gate.util.persistence.PersistenceManager-URLHolder> - </entry> - <entry> - <string>encoding</string> - <string>UTF-8</string> - </entry> - <entry> - <string>caseSensitive</string> - <boolean>true</boolean> - </entry> </localMap> </initParams> <features class="gate.util.persistence.MapPersistence"> @@ -405,7 +197,7 @@ </gate.util.persistence.AnalyserRunningStrategyPersistence> <gate.util.persistence.AnalyserRunningStrategyPersistence> <runMode>1</runMode> - <pr class="gate.util.persistence.PRPersistence"> + <pr class="gate.util.persistence.LanguageAnalyserPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> <localMap> @@ -414,18 +206,6 @@ <string>Original markups</string> </entry> <entry> - <string>textTagName</string> - <null/> - </entry> - <entry> - <string>transferAllUnlessFound</string> - <boolean>true</boolean> - </entry> - <entry> - <string>document</string> - <null/> - </entry> - <entry> <string>copyAnnotations</string> <boolean>true</boolean> </entry> @@ -434,10 +214,6 @@ <string></string> </entry> <entry> - <string>inputASName</string> - <string>Original markups</string> - </entry> - <entry> <string>annotationTypes</string> <gate.util.persistence.CollectionPersistence> <localList> @@ -446,6 +222,10 @@ <collectionType>java.util.ArrayList</collectionType> </gate.util.persistence.CollectionPersistence> </entry> + <entry> + <string>inputASName</string> + <string>Original markups</string> + </entry> </localMap> </runtimeParams> <resourceType>gate.creole.annotransfer.AnnotationSetTransfer</resourceType> @@ -467,8 +247,7 @@ </entry> <entry> <string>@comment</string> - <string>Copy EVENT annotations from Original markups to default AS for training. -</string> + <string>Copy EVENT annotations from Original markups to default AS for training.</string> </entry> </localMap> </features> @@ -481,28 +260,7 @@ <pr class="gate.util.persistence.PRPersistence"> <runtimeParams class="gate.util.persistence.MapPersistence"> <mapType>gate.util.SimpleFeatureMapImpl</mapType> - <localMap> - <entry> - <string>corpus</string> - <null/> - </entry> - <entry> - <string>outputASName</string> - <null/> - </entry> - <entry> - <string>inputASName</string> - <null/> - </entry> - <entry> - <string>runProtocolDir</string> - <null/> - </entry> - <entry> - <string>learningMode</string> - <gate.learning.RunMode>TRAINING</gate.learning.RunMode> - </entry> - </localMap> + <localMap/> </runtimeParams> <resourceType>gate.learning.LearningAPIMain</resourceType> <resourceName>learning</resourceName> @@ -541,13 +299,13 @@ </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/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.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[5]/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.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[7]/pr"/> + <gate.util.persistence.LanguageAnalyserPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[7]/pr"/> <gate.util.persistence.PRPersistence reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[8]/pr"/> </localList> <collectionType>java.util.ArrayList</collectionType> @@ -579,10 +337,9 @@ </entry> <entry> <string>@comment</string> - <string>ML training application for *.tml EVENT annotations. -</string> + <string>ML training application for *.tml EVENT annotations.</string> </entry> </localMap> </features> </application> -</gate.util.persistence.GateApplication> +</gate.util.persistence.GateApplication> \ No newline at end of file Copied: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/config.props (from rev 20262, gate/branches/sawdust2/plugins/Tagger_GATE-Time/config.props) =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/config.props (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/config.props 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,74 @@ +################################ +## MAIN ## +################################ +# Consideration of different timex3-types +# Date +considerDate = true + +# Duration +considerDuration = true + +# Set +considerSet = true + +# Time +considerTime = true + + +################################### +# Path to TreeTagger home directory +################################### +# Ensure there is no white space in path (try to escape white spaces) +# treeTaggerHome = SET ME IN CONFIG.PROPS!, e.g., me it is: +treeTaggerHome = /local/home/jstroetge/data/heideltime-forever/heideltime/treetagger +# This one is only necessary if you want to process chinese documents. +chineseTokenizerPath = SET ME IN CONFIG.PROPS! + +################################## +# paths to JVnTextPro model paths: +################################## +sent_model_path = SET ME IN CONFIG.PROPS! +word_model_path = SET ME IN CONFIG.PROPS! +pos_model_path = SET ME IN CONFIG.PROPS! + +##################################################### +# paths to Stanford POS Tagger model or config files: +##################################################### +model_path = SET ME IN CONFIG.PROPS! +# leave this unset if you do not need one +config_path = + +######################################## +## paths to hunpos and its tagger files: +######################################## +hunpos_path = SET ME IN CONFIG.PROPS! +hunpos_model_name = SET ME IN CONFIG.PROPS! + + + +# DO NOT CHANGE THE FOLLOWING +################################ +# Relative path of type system in HeidelTime home directory +typeSystemHome = desc/type/HeidelTime_TypeSystem.xml + +# Relative path of dkpro type system in HeidelTime home directory +typeSystemHome_DKPro = desc/type/DKPro_TypeSystem.xml + +# Name of uima-context variables... +# ...for date-consideration +uimaVarDate = Date + +# ...for duration-consideration +uimaVarDuration = Duration + +# ...for language +uimaVarLanguage = Language + +# ...for set-consideration +uimaVarSet = Set + +# ...for time-consideration +uimaVarTime = Time + +# ...for type to process +uimaVarTypeToProcess = Type Modified: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/savedFiles/logFileForNLPLearning.save =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/resources/ml-events/savedFiles/logFileForNLPLearning.save 2017-08-14 08:15:40 UTC (rev 20262) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/savedFiles/logFileForNLPLearning.save 2017-08-14 08:59:09 UTC (rev 20263) @@ -8374,3 +8374,23 @@ Learner nick name: PAUM Learner parameter settings: PAUM Surroud mode (or chunk learning): true +14 Aug 2017, 09:50:53: + +************************* +A new session for NLP learning is starting: 20170814_095053file:/home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/event-config.xml (saved 20170622_100304, 4578469secs ago)The initiliased time of NLP learning: Mon Aug 14 09:50:53 BST 2017 +Working directory: /home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events +The feature files and models are saved at: /home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/savedFiles +Learner name: PAUM +Learner nick name: PAUM +Learner parameter settings: PAUM +Surroud mode (or chunk learning): true +14 Aug 2017, 09:51:14: + +************************* +A new session for NLP learning is starting: 20170814_095114file:/home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/event-config.xml (saved 20170622_100304, 4578490secs ago)The initiliased time of NLP learning: Mon Aug 14 09:51:14 BST 2017 +Working directory: /home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events +The feature files and models are saved at: /home/mark/gate-top/externals/sawdust2/plugins/Tagger_GATE-Time/src/main/resources/resources/ml-events/savedFiles +Learner name: PAUM +Learner nick name: PAUM +Learner parameter settings: PAUM +Surroud mode (or chunk learning): true Added: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/creole/GappLoadingTest.java =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/creole/GappLoadingTest.java (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/java/gate/creole/GappLoadingTest.java 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,7 @@ +package gate.creole; + +import gate.test.GappLoadingTestCase; + +public class GappLoadingTest extends GappLoadingTestCase { + +} Added: gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/resources/creole.properties =================================================================== --- gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/resources/creole.properties (rev 0) +++ gate/branches/sawdust2/plugins/Tagger_GATE-Time/src/test/resources/creole.properties 2017-08-14 08:59:09 UTC (rev 20263) @@ -0,0 +1,3 @@ +groupId=${project.groupId} +artifactId=${project.artifactId} +version=${project.version} 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 GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs