Revision: 16155
          http://gate.svn.sourceforge.net/gate/?rev=16155&view=rev
Author:   markagreenwood
Date:     2012-10-25 18:34:32 +0000 (Thu, 25 Oct 2012)
Log Message:
-----------
a ready made Cebuano IE application

Modified Paths:
--------------
    gate/trunk/plugins/Lang_Cebuano/build.xml
    gate/trunk/plugins/Lang_Cebuano/creole.xml

Added Paths:
-----------
    gate/trunk/plugins/Lang_Cebuano/src/cebuano/CebuanoIE.java

Modified: gate/trunk/plugins/Lang_Cebuano/build.xml
===================================================================
--- gate/trunk/plugins/Lang_Cebuano/build.xml   2012-10-25 17:08:27 UTC (rev 
16154)
+++ gate/trunk/plugins/Lang_Cebuano/build.xml   2012-10-25 18:34:32 UTC (rev 
16155)
@@ -36,7 +36,7 @@
   <target name="compile" depends="init"
         description="compile the source " >
     <!-- Compile the java code from ${src} into ${build} -->
-    <javac srcdir="${src}" destdir="${build}" source="1.4"
+    <javac srcdir="${src}" destdir="${build}" source="1.6"
            classpathref="compile.classpath"/>
   </target>
 

Modified: gate/trunk/plugins/Lang_Cebuano/creole.xml
===================================================================
--- gate/trunk/plugins/Lang_Cebuano/creole.xml  2012-10-25 17:08:27 UTC (rev 
16154)
+++ gate/trunk/plugins/Lang_Cebuano/creole.xml  2012-10-25 18:34:32 UTC (rev 
16155)
@@ -4,12 +4,12 @@
 <CREOLE-DIRECTORY>
   <!-- Processing Resources -->
   <CREOLE>
-     
+    <JAR SCAN="true">cebuano.jar</JAR>     
     <!-- creole.xml for the Englishtokeniser -->
   
- <RESOURCE>
+    <RESOURCE>
       <NAME>Cebuano Tokeniser</NAME>
- <JAR>cebuano.jar</JAR>
+      <JAR>cebuano.jar</JAR>
       <CLASS>cebuano.CebuanoTokeniser</CLASS>
       <COMMENT>A customisable Cebuano tokeniser.</COMMENT>
       <PARAMETER NAME="document" COMMENT="The document to be tokenised"
@@ -162,4 +162,4 @@
     </RESOURCE>
 
  </CREOLE>
-</CREOLE-DIRECTORY>
\ No newline at end of file
+</CREOLE-DIRECTORY>

Added: gate/trunk/plugins/Lang_Cebuano/src/cebuano/CebuanoIE.java
===================================================================
--- gate/trunk/plugins/Lang_Cebuano/src/cebuano/CebuanoIE.java                  
        (rev 0)
+++ gate/trunk/plugins/Lang_Cebuano/src/cebuano/CebuanoIE.java  2012-10-25 
18:34:32 UTC (rev 16155)
@@ -0,0 +1,25 @@
+package cebuano;
+
+import gate.creole.PackagedController;
+import gate.creole.metadata.AutoInstance;
+import gate.creole.metadata.CreoleParameter;
+import gate.creole.metadata.CreoleResource;
+
+import java.net.URL;
+import java.util.List;
+
+@CreoleResource(name = "Cebuano IE System", autoinstances = @AutoInstance)
+public class CebuanoIE extends PackagedController {
+
+  @Override
+  @CreoleParameter(defaultValue = "resources/cebuano.gapp")
+  public void setPipelineURL(URL url) {
+    this.url = url;
+  }
+
+  @Override
+  @CreoleParameter(defaultValue = "Cebuano")
+  public void setMenu(List<String> menu) {
+    super.setMenu(menu);
+  }
+}

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to