Revision: 19524
http://sourceforge.net/p/gate/code/19524
Author: markagreenwood
Date: 2016-08-19 16:48:23 +0000 (Fri, 19 Aug 2016)
Log Message:
-----------
switched to using maven toi build and distribute
Modified Paths:
--------------
gate/branches/sawdust2/plugins/Stanford_CoreNLP/.classpath
gate/branches/sawdust2/plugins/Stanford_CoreNLP/.project
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishDependencies.java
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishPOSDependencies.java
Added Paths:
-----------
gate/branches/sawdust2/plugins/Stanford_CoreNLP/pom.xml
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/creole.xml
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/.sample_parser_en-metadata/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/.sample_pos+parser_en-metadata/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_parser_en.gapp
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_pos+parser_en.gapp
Removed Paths:
-------------
gate/branches/sawdust2/plugins/Stanford_CoreNLP/.sample_parser_en-metadata/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/.sample_pos+parser_en-metadata/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/build/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/build.xml
gate/branches/sawdust2/plugins/Stanford_CoreNLP/creole.xml
gate/branches/sawdust2/plugins/Stanford_CoreNLP/doc/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/resources/
gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_parser_en.gapp
gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_pos+parser_en.gapp
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/gate/
Modified: gate/branches/sawdust2/plugins/Stanford_CoreNLP/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/.classpath 2016-08-19
16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/.classpath 2016-08-19
16:48:23 UTC (rev 19524)
@@ -1,8 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry combineaccessrules="false" kind="src" path="/GATE"/>
- <classpathentry kind="con"
path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=GATE-plugin-Stanford_CoreNLP&ivyXmlPath=build%2Fivy.xml&confs=*"/>
- <classpathentry kind="output" path="classes"/>
+ <classpathentry kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/test-classes"
path="src/test/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: gate/branches/sawdust2/plugins/Stanford_CoreNLP/.project
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/.project 2016-08-19
16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/.project 2016-08-19
16:48:23 UTC (rev 19524)
@@ -10,9 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.apache.ivyde.eclipse.ivynature</nature>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
Deleted: gate/branches/sawdust2/plugins/Stanford_CoreNLP/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/build.xml 2016-08-19
16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/build.xml 2016-08-19
16:48:23 UTC (rev 19524)
@@ -1,127 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="gateplugin-Stanford_CoreNLP" default="build" basedir="."
xmlns:ivy="antlib:org.apache.ivy.ant">
- <description>Stanford CoreNLP Plugin for GATE</description>
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
-
- <property file="build.properties" />
-
- <property name="plugin.name" value="gateplugin-Stanford_CoreNLP"/>
-
- <property environment="env" />
- <condition property="gate.home" value="${env.GATE_HOME}">
- <isset property="env.GATE_HOME" />
- </condition>
- <property name="gate.home" location="../.." />
- <property name="gate.lib" location="${gate.home}/lib" />
- <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
-
- <property name="src.dir" location="src" />
- <property name="classes.dir" location="classes" />
- <property name="build.dir" location="build" />
- <property name="javadoc.dir" location="doc/javadoc" />
- <property name="jar.location" location="${plugin.name}.jar" />
-
- <!-- Ivy setup -->
- <property name="ivy.dir" location="build" />
- <path id="ivy.lib.path">
- <fileset file="${gate.home}/build/lib/ivy.jar" />
- </path>
- <taskdef resource="org/apache/ivy/ant/antlib.xml"
- uri="antlib:org.apache.ivy.ant"
- classpathref="ivy.lib.path"/>
-
-
- <target name="initivy">
- <!-- <ivy:configure file="${build.dir}/ivysettings.xml"/> -->
- <!-- <ivy:retrieve sync="true" file="${build.dir}/ivy.xml"
pattern="${libDir}/[artifact]-[revision].[ext]" /> -->
- <!-- <ivy:retrieve file="${build.dir}/ivy.xml"/> -->
- <ivy:resolve file="${build.dir}/ivy.xml"/>
- <!-- <ivy:report todir="${ivy.dir}/ivy-report" /> -->
- <ivy:cachepath pathid="ivylibs"/>
- </target>
-
- <target name="prepare" depends="initivy">
- <mkdir dir="${classes.dir}" />
-
- <!-- Path to compile - includes gate.jar and GATE/lib/*.jar -->
- <path id="gate.classpath">
- <pathelement location="${gate.jar}" />
- <fileset dir="${gate.lib}">
- <include name="**/*.jar" />
- <include name="**/*.zip" />
- </fileset>
- </path>
-
- <!-- GATE classes plus local lib jars -->
- <path id="compile.classpath">
- <path refid="gate.classpath" />
- <path refid="ivylibs" />
- <!--
- <fileset dir="lib-static">
- <include name="*.jar"/>
- </fileset>
- -->
- </path>
-
- <path id="run.classpath">
- <path refid="compile.classpath" />
- <pathelement location="${jar.location}" />
- </path>
- </target>
-
-
- <target name="compile" depends="prepare" description="Compile Java sources">
- <javac srcdir="src" destdir="${classes.dir}" debug="true" source="1.7"
target="1.7" debuglevel="lines,vars,source" deprecation="on" optimize="off"
encoding="UTF-8" classpathref="compile.classpath">
- <compilerarg value="-Xlint:unchecked"/>
- </javac>
- </target>
-
-
-
- <!-- Create application JAR file -->
- <target name="jar" depends="compile">
- <jar destfile="${jar.location}" update="false" index="true"
basedir="${classes.dir}/" />
- </target>
-
-
-
- <!-- Targets used by the main GATE build file:
- build: build the plugin - just calls "jar" target
- test : run the unit tests - there aren't any
- distro.prepare: remove intermediate files that shouldn't be in the
- distribution
- -->
- <target name="build" depends="jar" />
- <target name="test" />
- <target name="distro.prepare" depends="clean.classes" />
-
-
- <target name="clean.classes">
- <delete dir="${classes.dir}" />
- </target>
-
- <target name="clean.jar">
- <delete file="${jar.location}" />
- </target>
-
- <!-- Clean up - remove .class and .jar files -->
- <target name="clean" depends="clean.classes, clean.jar" />
-
-
- <!-- generate javadoc -->
-
- <target name="doc" depends="javadoc" />
-
- <target name="javadoc" depends="compile" description="Create Javadoc API
documentation">
- <javadoc access="protected" destdir="${javadoc.dir}"
classpathref="compile.classpath" Extdirs="${extDir}" Encoding="UTF-8" Use="yes"
Windowtitle="Stanford NER GATE Wrapper JavaDoc" docencoding="UTF-8"
charset="UTF-8" source="1.6" useexternalfile="yes" breakiterator="true"
linksource="yes">
- <fileset dir="${src.dir}" />
- <link href="http://docs.oracle.com/javase/6/docs/api/" />
- <link href="http://gate.ac.uk/gate/doc/javadoc/" />
- </javadoc>
-
- </target>
-
-
-</project>
Deleted: gate/branches/sawdust2/plugins/Stanford_CoreNLP/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/creole.xml 2016-08-19
16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/creole.xml 2016-08-19
16:48:23 UTC (rev 19524)
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<CREOLE-DIRECTORY ID="Stanford CoreNLP tools" VERSION="2015.1025"
DESCRIPTION="Stanford CoreNLP" GATE-MIN="8.0">
- <JAR SCAN="true">gateplugin-Stanford_CoreNLP.jar</JAR>
- <IVY>build/ivy.xml</IVY>
-</CREOLE-DIRECTORY>
Added: gate/branches/sawdust2/plugins/Stanford_CoreNLP/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/pom.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/pom.xml 2016-08-19
16:48:23 UTC (rev 19524)
@@ -0,0 +1,52 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- this is the description of this plugin -->
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>stanford-corenlp</artifactId>
+ <version>9.0-SNAPSHOT</version>
+
+ <licenses>
+ <license>
+ <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>
+
+ <organization>
+ <name>GATE</name>
+ <url>http://gate.ac.uk</url>
+ </organization>
+
+ <developers>
+ <developer>
+ <id>gate-team</id>
+ <name>GATE Team</name>
+ <email>[email protected]</email>
+ </developer>
+ </developers>
+
+ <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>edu.stanford.nlp</groupId>
+ <artifactId>stanford-corenlp</artifactId>
+ <version>3.6.0</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
Deleted: gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_parser_en.gapp
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_parser_en.gapp
2016-08-19 16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_parser_en.gapp
2016-08-19 16:48:23 UTC (rev 19524)
@@ -1,255 +0,0 @@
-<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>$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>document</string>
- <null/>
- </entry>
- <entry>
- <string>setsToKeep</string>
- <gate.util.persistence.CollectionPersistence>
- <localList/>
- <collectionType>java.util.ArrayList</collectionType>
- </gate.util.persistence.CollectionPersistence>
- </entry>
- <entry>
- <string>annotationTypes</string>
- <null/>
- </entry>
- <entry>
- <string>keepOriginalMarkupsAS</string>
- <boolean>true</boolean>
- </entry>
- </localMap>
- </runtimeParams>
-
<resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType>
- <resourceName>doc_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>document</string>
- <null/>
- </entry>
- <entry>
- <string>outputASName</string>
- <null/>
- </entry>
- </localMap>
- </runtimeParams>
-
<resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType>
- <resourceName>regex_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>nonSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$gatehome$plugins/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>$gatehome$plugins/ANNIE/resources/regex-splitter/internal-split-patterns.txt</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>externalSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$gatehome$plugins/ANNIE/resources/regex-splitter/external-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>
- </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>document</string>
- <null/>
- </entry>
- <entry>
- <string>annotationSetName</string>
- <null/>
- </entry>
- </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>
- </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.PRPersistence">
- <runtimeParams class="gate.util.persistence.MapPersistence">
- <mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>debug</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>addPosTags</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>addDependencyFeatures</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>document</string>
- <null/>
- </entry>
- <entry>
- <string>reusePosTags</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>useMapping</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>addConstituentAnnotations</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>annotationSetName</string>
- <string></string>
- </entry>
- <entry>
- <string>addDependencyAnnotations</string>
- <boolean>true</boolean>
- </entry>
- </localMap>
- </runtimeParams>
- <resourceType>gate.stanford.Parser</resourceType>
- <resourceName>parser</resourceName>
- <initParams class="gate.util.persistence.MapPersistence">
- <mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>mappingFile</string>
- <null/>
- </entry>
- <entry>
- <string>tlppClass</string>
-
<string>edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams</string>
- </entry>
- <entry>
- <string>parserFile</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$resources/englishRNN.ser.gz</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>
- </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.PRPersistence
reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[4]/pr"/>
- </localList>
- <collectionType>java.util.ArrayList</collectionType>
- </prList>
-
<resourceType>gate.creole.ConditionalSerialAnalyserController</resourceType>
- <resourceName>parse_en</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$.sample_parser_en-metadata/metadata.xml</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
- </features>
- </application>
-</gate.util.persistence.GateApplication>
Deleted:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_pos+parser_en.gapp
===================================================================
--- gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_pos+parser_en.gapp
2016-08-19 16:16:12 UTC (rev 19523)
+++ gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_pos+parser_en.gapp
2016-08-19 16:48:23 UTC (rev 19524)
@@ -1,317 +0,0 @@
-<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>$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>document</string>
- <null/>
- </entry>
- <entry>
- <string>setsToKeep</string>
- <gate.util.persistence.CollectionPersistence>
- <localList/>
- <collectionType>java.util.ArrayList</collectionType>
- </gate.util.persistence.CollectionPersistence>
- </entry>
- <entry>
- <string>annotationTypes</string>
- <null/>
- </entry>
- <entry>
- <string>keepOriginalMarkupsAS</string>
- <boolean>true</boolean>
- </entry>
- </localMap>
- </runtimeParams>
-
<resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType>
- <resourceName>doc_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>document</string>
- <null/>
- </entry>
- <entry>
- <string>outputASName</string>
- <null/>
- </entry>
- </localMap>
- </runtimeParams>
-
<resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType>
- <resourceName>regex_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>nonSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$gatehome$plugins/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>$gatehome$plugins/ANNIE/resources/regex-splitter/internal-split-patterns.txt</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- <entry>
- <string>externalSplitListURL</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
-
<urlString>$gatehome$plugins/ANNIE/resources/regex-splitter/external-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>
- </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>document</string>
- <null/>
- </entry>
- <entry>
- <string>annotationSetName</string>
- <null/>
- </entry>
- </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>
- </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>document</string>
- <null/>
- </entry>
- <entry>
- <string>baseTokenAnnotationType</string>
- <string>Token</string>
- </entry>
- <entry>
- <string>outputAnnotationType</string>
- <string>Token</string>
- </entry>
- <entry>
- <string>inputASName</string>
- <null/>
- </entry>
- <entry>
- <string>baseSentenceAnnotationType</string>
- <string>Sentence</string>
- </entry>
- <entry>
- <string>outputASName</string>
- <null/>
- </entry>
- </localMap>
- </runtimeParams>
- <resourceType>gate.creole.POSTagger</resourceType>
- <resourceName>pos_tagger</resourceName>
- <initParams class="gate.util.persistence.MapPersistence">
- <mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <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>
- <entry>
- <string>encoding</string>
- <null/>
- </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.PRPersistence">
- <runtimeParams class="gate.util.persistence.MapPersistence">
- <mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>debug</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>addPosTags</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>addDependencyFeatures</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>document</string>
- <null/>
- </entry>
- <entry>
- <string>reusePosTags</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>useMapping</string>
- <boolean>false</boolean>
- </entry>
- <entry>
- <string>addConstituentAnnotations</string>
- <boolean>true</boolean>
- </entry>
- <entry>
- <string>annotationSetName</string>
- <string></string>
- </entry>
- <entry>
- <string>addDependencyAnnotations</string>
- <boolean>true</boolean>
- </entry>
- </localMap>
- </runtimeParams>
- <resourceType>gate.stanford.Parser</resourceType>
- <resourceName>parser</resourceName>
- <initParams class="gate.util.persistence.MapPersistence">
- <mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>mappingFile</string>
- <null/>
- </entry>
- <entry>
- <string>tlppClass</string>
-
<string>edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams</string>
- </entry>
- <entry>
- <string>parserFile</string>
- <gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$resources/englishRNN.ser.gz</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>
- </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.PRPersistence
reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[5]/pr"/>
- </localList>
- <collectionType>java.util.ArrayList</collectionType>
- </prList>
-
<resourceType>gate.creole.ConditionalSerialAnalyserController</resourceType>
- <resourceName>pos+parse_en</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$.sample_pos+parser_en-metadata/metadata.xml</urlString>
- </gate.util.persistence.PersistenceManager-URLHolder>
- </entry>
- </localMap>
- </features>
- </application>
-</gate.util.persistence.GateApplication>
Modified:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/gate/stanford/Parser.java
2016-08-11 17:35:29 UTC (rev 19499)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
2016-08-19 16:48:23 UTC (rev 19524)
@@ -514,8 +514,8 @@
if(stanfordParser != null) return;
try {
- String filepath = Files.fileFromURL(parserFile).getAbsolutePath();
- stanfordParser = LexicalizedParser.getParserFromSerializedFile(filepath);
+ //String filepath = Files.fileFromURL(parserFile).getAbsolutePath();
+ stanfordParser =
LexicalizedParser.getParserFromSerializedFile(parserFile.toExternalForm());
}
catch(Exception e) {
throw new ResourceInstantiationException(e);
Modified:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishDependencies.java
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/gate/stanford/apps/EnglishDependencies.java
2016-08-11 17:35:29 UTC (rev 19499)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishDependencies.java
2016-08-19 16:48:23 UTC (rev 19524)
@@ -34,7 +34,7 @@
private static final long serialVersionUID = 3163023140886167369L;
@Override
- @CreoleParameter(defaultValue="sample_parser_en.gapp")
+ @CreoleParameter(defaultValue="resources/sample_parser_en.gapp")
public void setPipelineURL(URL url) {
this.url = url;
}
Modified:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishPOSDependencies.java
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/gate/stanford/apps/EnglishPOSDependencies.java
2016-08-11 17:35:29 UTC (rev 19499)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/apps/EnglishPOSDependencies.java
2016-08-19 16:48:23 UTC (rev 19524)
@@ -34,7 +34,7 @@
private static final long serialVersionUID = 3163023140886167369L;
@Override
- @CreoleParameter(defaultValue="sample_pos+parser_en.gapp")
+ @CreoleParameter(defaultValue="resources/sample_pos+parser_en.gapp")
public void setPipelineURL(URL url) {
this.url = url;
}
Copied:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/creole.xml
(from rev 19499, gate/branches/sawdust2/plugins/Stanford_CoreNLP/creole.xml)
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/creole.xml
(rev 0)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/creole.xml
2016-08-19 16:48:23 UTC (rev 19524)
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<CREOLE-DIRECTORY>
+
+</CREOLE-DIRECTORY>
Copied:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_parser_en.gapp
(from rev 19499,
gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_parser_en.gapp)
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_parser_en.gapp
(rev 0)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_parser_en.gapp
2016-08-19 16:48:23 UTC (rev 19524)
@@ -0,0 +1,169 @@
+<gate.util.persistence.GateApplication>
+ <urlList class="gate.util.persistence.CollectionPersistence">
+ <localList>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>annie</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>tools</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>stanford-corenlp</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ </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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>setsToKeep</string>
+ <gate.util.persistence.CollectionPersistence>
+ <localList/>
+ <collectionType>java.util.ArrayList</collectionType>
+ </gate.util.persistence.CollectionPersistence>
+ </entry>
+ <entry>
+ <string>annotationTypes</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>keepOriginalMarkupsAS</string>
+ <boolean>true</boolean>
+ </entry>
+ </localMap>
+ </runtimeParams>
+
<resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType>
+ <resourceName>doc_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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>outputASName</string>
+ <null/>
+ </entry>
+ </localMap>
+ </runtimeParams>
+
<resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType>
+ <resourceName>regex_splitter</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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>annotationSetName</string>
+ <null/>
+ </entry>
+ </localMap>
+ </runtimeParams>
+ <resourceType>gate.creole.tokeniser.DefaultTokeniser</resourceType>
+ <resourceName>tokenizer</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.PRPersistence">
+ <runtimeParams class="gate.util.persistence.MapPersistence">
+ <mapType>gate.util.SimpleFeatureMapImpl</mapType>
+ <localMap/>
+ </runtimeParams>
+ <resourceType>gate.stanford.Parser</resourceType>
+ <resourceName>parser</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>
+ </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.PRPersistence
reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[4]/pr"/>
+ </localList>
+ <collectionType>java.util.ArrayList</collectionType>
+ </prList>
+
<resourceType>gate.creole.ConditionalSerialAnalyserController</resourceType>
+ <resourceName>parse_en</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$.sample_parser_en-metadata/metadata.xml</urlString>
+ </gate.util.persistence.PersistenceManager-URLHolder>
+ </entry>
+ </localMap>
+ </features>
+ </application>
+</gate.util.persistence.GateApplication>
Copied:
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_pos+parser_en.gapp
(from rev 19499,
gate/branches/sawdust2/plugins/Stanford_CoreNLP/sample_pos+parser_en.gapp)
===================================================================
---
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_pos+parser_en.gapp
(rev 0)
+++
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/resources/resources/sample_pos+parser_en.gapp
2016-08-19 16:48:23 UTC (rev 19524)
@@ -0,0 +1,189 @@
+<gate.util.persistence.GateApplication>
+ <urlList class="gate.util.persistence.CollectionPersistence">
+ <localList>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>annie</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>tools</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ <gate.Plugin-Maven>
+ <group>uk.ac.gate.plugins</group>
+ <artifact>stanford-corenlp</artifact>
+ <version>9.0-SNAPSHOT</version>
+ </gate.Plugin-Maven>
+ </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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>setsToKeep</string>
+ <gate.util.persistence.CollectionPersistence>
+ <localList/>
+ <collectionType>java.util.ArrayList</collectionType>
+ </gate.util.persistence.CollectionPersistence>
+ </entry>
+ <entry>
+ <string>annotationTypes</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>keepOriginalMarkupsAS</string>
+ <boolean>true</boolean>
+ </entry>
+ </localMap>
+ </runtimeParams>
+
<resourceType>gate.creole.annotdelete.AnnotationDeletePR</resourceType>
+ <resourceName>doc_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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>outputASName</string>
+ <null/>
+ </entry>
+ </localMap>
+ </runtimeParams>
+
<resourceType>gate.creole.splitter.RegexSentenceSplitter</resourceType>
+ <resourceName>regex_splitter</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>document</string>
+ <null/>
+ </entry>
+ <entry>
+ <string>annotationSetName</string>
+ <null/>
+ </entry>
+ </localMap>
+ </runtimeParams>
+ <resourceType>gate.creole.tokeniser.DefaultTokeniser</resourceType>
+ <resourceName>tokenizer</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/>
+ </runtimeParams>
+ <resourceType>gate.creole.POSTagger</resourceType>
+ <resourceName>pos_tagger</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.PRPersistence">
+ <runtimeParams class="gate.util.persistence.MapPersistence">
+ <mapType>gate.util.SimpleFeatureMapImpl</mapType>
+ <localMap/>
+ </runtimeParams>
+ <resourceType>gate.stanford.Parser</resourceType>
+ <resourceName>parser</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>
+ </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.PRPersistence
reference="../../../strategiesList/localList/gate.util.persistence.AnalyserRunningStrategyPersistence[5]/pr"/>
+ </localList>
+ <collectionType>java.util.ArrayList</collectionType>
+ </prList>
+
<resourceType>gate.creole.ConditionalSerialAnalyserController</resourceType>
+ <resourceName>pos+parse_en</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$.sample_pos+parser_en-metadata/metadata.xml</urlString>
+ </gate.util.persistence.PersistenceManager-URLHolder>
+ </entry>
+ </localMap>
+ </features>
+ </application>
+</gate.util.persistence.GateApplication>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs