Revision: 19885
http://sourceforge.net/p/gate/code/19885
Author: markagreenwood
Date: 2016-12-20 23:15:58 +0000 (Tue, 20 Dec 2016)
Log Message:
-----------
linked the date normalizer into the main build
Modified Paths:
--------------
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/SnowballStemmer.java
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/TestApp.java
gate/branches/sawdust2/plugins/pom.xml
Removed Paths:
-------------
gate/branches/sawdust2/plugins/Tagger_NormaGene/build.xml
gate/branches/sawdust2/plugins/Tagger_NormaGene/creole.xml
Modified:
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/SnowballStemmer.java
===================================================================
---
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/SnowballStemmer.java
2016-12-20 23:15:07 UTC (rev 19884)
+++
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/SnowballStemmer.java
2016-12-20 23:15:58 UTC (rev 19885)
@@ -1,6 +1,5 @@
package org.tartarus.snowball;
-import java.lang.reflect.InvocationTargetException;
public abstract class SnowballStemmer extends SnowballProgram {
public abstract boolean stem();
Modified:
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/TestApp.java
===================================================================
---
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/TestApp.java
2016-12-20 23:15:07 UTC (rev 19884)
+++
gate/branches/sawdust2/plugins/Stemmer_Snowball/src/main/java/org/tartarus/snowball/TestApp.java
2016-12-20 23:15:58 UTC (rev 19885)
@@ -1,19 +1,16 @@
package org.tartarus.snowball;
-import gate.util.BomStrippingInputStreamReader;
-
-import java.lang.reflect.Method;
-import java.io.Reader;
-import java.io.Writer;
-import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
-import java.io.InputStreamReader;
+import java.io.FileOutputStream;
+import java.io.OutputStream;
import java.io.OutputStreamWriter;
-import java.io.OutputStream;
-import java.io.FileOutputStream;
+import java.io.Reader;
+import java.io.Writer;
+import gate.util.BomStrippingInputStreamReader;
+
public class TestApp {
private static void usage()
{
@@ -55,7 +52,6 @@
repeat = Integer.parseInt(args[4]);
}
- Object [] emptyArgs = new Object[0];
int character;
while ((character = reader.read()) != -1) {
char ch = (char) character;
Deleted: gate/branches/sawdust2/plugins/Tagger_NormaGene/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Tagger_NormaGene/build.xml 2016-12-20
23:15:07 UTC (rev 19884)
+++ gate/branches/sawdust2/plugins/Tagger_NormaGene/build.xml 2016-12-20
23:15:58 UTC (rev 19885)
@@ -1,80 +0,0 @@
-<project name="Tagger_NormaGene" basedir=".">
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
-
- <property file="build.properties" />
-
- <property name="gate.home" location="../.." />
- <property name="gate.lib" location="${gate.home}/lib" />
- <property name="src.dir" location="src" />
- <property name="classes.dir" location="classes" />
- <property name="jar.location" location="NormaGene.jar" />
- <property name="doc.dir" location="doc" />
- <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-
- <!-- Path to compile - includes gate.jar and GATE/lib/*.jar -->
- <path id="compile.classpath">
- <pathelement location="${gate.home}/bin/gate.jar" />
- <fileset dir="${gate.lib}">
- <include name="**/*.jar" />
- <include name="**/*.zip" />
- </fileset>
- </path>
-
- <!-- 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.5" target="1.5" />
- </target>
-
- <target name="resources" depends="prepare">
- <copy todir="${classes.dir}/gate/resources"
includeEmptyDirs="true">
- <fileset dir="${src.dir}/gate/resources" />
- </copy>
- </target>
-
- <!-- create the JAR file -->
- <target name="jar" depends="compile, 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 up - remove .class and .jar files -->
- <target name="clean" depends="clean.classes">
- <delete file="${jar.location}" />
- </target>
-
- <!-- Targets used by the main GATE build file:
- build: build the plugin - just calls "jar" target
- test : run the unit tests - there aren't any
- distro.prepare: remove intermediate files that shouldn't be in the
- distribution
- -->
-
- <!-- Build JavaDoc documentation -->
- <target name="doc.prepare">
- <mkdir dir="${javadoc.dir}" />
- </target>
-
- <target name="javadoc" depends="doc.prepare">
- <javadoc destdir="${javadoc.dir}" packagenames="*"
classpathref="compile.classpath" encoding="UTF-8" windowtitle="MutationFinder
JavaDoc" source="1.6">
- <sourcepath>
- <pathelement location="${src.dir}" />
- </sourcepath>
- <link href="http://docs.oracle.com/javase/6/docs/api/"
/>
- <link href="http://gate.ac.uk/gate/doc/javadoc/" />
- </javadoc>
- </target>
-
- <target name="build" depends="jar" />
- <target name="test" />
- <target name="distro.prepare" depends="clean.classes" />
-</project>
Deleted: gate/branches/sawdust2/plugins/Tagger_NormaGene/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Tagger_NormaGene/creole.xml 2016-12-20
23:15:07 UTC (rev 19884)
+++ gate/branches/sawdust2/plugins/Tagger_NormaGene/creole.xml 2016-12-20
23:15:58 UTC (rev 19885)
@@ -1,3 +0,0 @@
-<CREOLE-DIRECTORY>
- <JAR SCAN="true">NormaGene.jar</JAR>
-</CREOLE-DIRECTORY>
Modified: gate/branches/sawdust2/plugins/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/pom.xml 2016-12-20 23:15:07 UTC (rev
19884)
+++ gate/branches/sawdust2/plugins/pom.xml 2016-12-20 23:15:58 UTC (rev
19885)
@@ -52,6 +52,7 @@
<module>Stanford_CoreNLP</module>
<module>Stemmer_Snowball</module>
<module>Tagger_Chemistry</module>
+ <module>Tagger_DateNormalizer</module>
<module>Tagger_Measurements</module>
<module>Tagger_NP_Chunking</module>
<module>Tagger_Numbers</module>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs