Revision: 16335
http://gate.svn.sourceforge.net/gate/?rev=16335&view=rev
Author: adamfunk
Date: 2012-11-27 11:39:57 +0000 (Tue, 27 Nov 2012)
Log Message:
-----------
The defaultLanguage bit is no longer used.
Modified Paths:
--------------
gate/trunk/plugins/TermRaider/applications/termraider-multilingual.gapp
gate/trunk/plugins/TermRaider/resources/groovy/ApplyLanguage.groovy
Modified:
gate/trunk/plugins/TermRaider/applications/termraider-multilingual.gapp
===================================================================
--- gate/trunk/plugins/TermRaider/applications/termraider-multilingual.gapp
2012-11-27 11:13:41 UTC (rev 16334)
+++ gate/trunk/plugins/TermRaider/applications/termraider-multilingual.gapp
2012-11-27 11:39:57 UTC (rev 16335)
@@ -2,7 +2,7 @@
<urlList class="gate.util.persistence.CollectionPersistence">
<localList>
<gate.util.persistence.PersistenceManager-URLHolder>
- <urlString>$relpath$../</urlString>
+ <urlString>$relpath$../../TermRaider/</urlString>
</gate.util.persistence.PersistenceManager-URLHolder>
<gate.util.persistence.PersistenceManager-URLHolder>
<urlString>$relpath$../../ANNIE/</urlString>
@@ -753,12 +753,7 @@
<string>scriptParams</string>
<gate.util.persistence.MapPersistence>
<mapType>gate.util.SimpleFeatureMapImpl</mapType>
- <localMap>
- <entry>
- <string>defaultLanguage</string>
- <string>english</string>
- </entry>
- </localMap>
+ <localMap/>
</gate.util.persistence.MapPersistence>
</entry>
<entry>
@@ -967,4 +962,4 @@
</localMap>
</features>
</application>
-</gate.util.persistence.GateApplication>
+</gate.util.persistence.GateApplication>
\ No newline at end of file
Modified: gate/trunk/plugins/TermRaider/resources/groovy/ApplyLanguage.groovy
===================================================================
--- gate/trunk/plugins/TermRaider/resources/groovy/ApplyLanguage.groovy
2012-11-27 11:13:41 UTC (rev 16334)
+++ gate/trunk/plugins/TermRaider/resources/groovy/ApplyLanguage.groovy
2012-11-27 11:39:57 UTC (rev 16335)
@@ -8,11 +8,6 @@
termTypes.add("SingleWord");
termTypes.add("MultiWord");
-String defaultLanguage = null;
-if ((scriptParams != null) && scriptParams.containsKey("defaultLanguage")) {
- defaultLanguage = scriptParams.get("defaultLanguage").toString();
-}
-
AnnotationSet candidates = inputAS.get(termTypes);
for (Annotation candidate : candidates) {
AnnotationSet sentences = gate.Utils.getCoveringAnnotations(inputAS,
candidate, "Sentence");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs