Revision: 19107
          http://sourceforge.net/p/gate/code/19107
Author:   markagreenwood
Date:     2016-02-04 11:48:10 +0000 (Thu, 04 Feb 2016)
Log Message:
-----------
renamed the POS tagger class to match the others in the package

Modified Paths:
--------------
    gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp

Added Paths:
-----------
    gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishPOSTagger.java

Removed Paths:
-------------
    gate/trunk/plugins/Lang_Danish/src/gate/danish/POSTagger.java

Modified: gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp
===================================================================
--- gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp 2016-02-04 11:08:58 UTC 
(rev 19106)
+++ gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp 2016-02-04 11:48:10 UTC 
(rev 19107)
@@ -72,7 +72,7 @@
             <mapType>gate.util.SimpleFeatureMapImpl</mapType>
             <localMap/>
           </runtimeParams>
-          <resourceType>danish.POSTagger</resourceType>
+          <resourceType>danish.DanishPOSTagger</resourceType>
           <resourceName>Danish POS tagger</resourceName>
           <initParams class="gate.util.persistence.MapPersistence">
             <mapType>gate.util.SimpleFeatureMapImpl</mapType>

Added: gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishPOSTagger.java
===================================================================
--- gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishPOSTagger.java         
                (rev 0)
+++ gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishPOSTagger.java 
2016-02-04 11:48:10 UTC (rev 19107)
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 1995-2016, The University of Sheffield. See the file
+ * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
+ * 
+ * This file is part of GATE (see http://gate.ac.uk/), and is free software,
+ * licenced under the GNU Library General Public License, Version 2, June 1991
+ * (in the distribution as file licence.html, and also available at
+ * http://gate.ac.uk/gate/licence.html).
+ * 
+ * Mark A. Greenwood, 2/02/2016
+ */
+
+
+package danish;
+
+import java.net.URL;
+
+import gate.creole.metadata.CreoleParameter;
+import gate.creole.metadata.CreoleResource;  
+
+import gate.stanford.Tagger;
+
+@CreoleResource(name = "Danish POS Tagger",
+    comment = "Stanford POS tagger trained on Tweets")
+public class DanishPOSTagger extends Tagger {
+
+  private static final long serialVersionUID = 5657607888874448666L;
+
+  @Override
+  @CreoleParameter(comment = "Path to the tagger's model file",
+       defaultValue = "resources/pos/ddt-pos.model")
+  public void setModelFile(URL modelFile) {
+    super.setModelFile(modelFile);
+  }
+}

Deleted: gate/trunk/plugins/Lang_Danish/src/gate/danish/POSTagger.java
===================================================================
--- gate/trunk/plugins/Lang_Danish/src/gate/danish/POSTagger.java       
2016-02-04 11:08:58 UTC (rev 19106)
+++ gate/trunk/plugins/Lang_Danish/src/gate/danish/POSTagger.java       
2016-02-04 11:48:10 UTC (rev 19107)
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 1995-2016, The University of Sheffield. See the file
- * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
- * 
- * This file is part of GATE (see http://gate.ac.uk/), and is free software,
- * licenced under the GNU Library General Public License, Version 2, June 1991
- * (in the distribution as file licence.html, and also available at
- * http://gate.ac.uk/gate/licence.html).
- * 
- * Mark A. Greenwood, 2/02/2016
- */
-
-
-package danish;
-
-import java.net.URL;
-
-import gate.creole.metadata.CreoleParameter;
-import gate.creole.metadata.CreoleResource;  
-
-import gate.stanford.Tagger;
-
-@CreoleResource(name = "Danish POS Tagger",
-    comment = "Stanford POS tagger trained on Tweets")
-public class POSTagger extends Tagger {
-
-  private static final long serialVersionUID = 5657607888874448666L;
-
-  @Override
-  @CreoleParameter(comment = "Path to the tagger's model file",
-       defaultValue = "resources/pos/ddt-pos.model")
-  public void setModelFile(URL modelFile) {
-    super.setModelFile(modelFile);
-  }
-}

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to