Revision: 18220
          http://sourceforge.net/p/gate/code/18220
Author:   dgmaynard
Date:     2014-07-31 15:05:47 +0000 (Thu, 31 Jul 2014)
Log Message:
-----------
extra rule for odd universities that get missed

Modified Paths:
--------------
    gate/trunk/plugins/ANNIE/resources/NE/org_context.jape

Modified: gate/trunk/plugins/ANNIE/resources/NE/org_context.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/org_context.jape      2014-07-31 
10:45:32 UTC (rev 18219)
+++ gate/trunk/plugins/ANNIE/resources/NE/org_context.jape      2014-07-31 
15:05:47 UTC (rev 18220)
@@ -358,3 +358,21 @@
 features);
 outputAS.removeAll(personSet);
 }
+
+
+Rule:CityUniversity
+
+(
+ {Location.locType == city}
+ {Token.string == "University"}
+ ):tag
+ -->
+ {
+gate.AnnotationSet org = (gate.AnnotationSet) bindings.get("tag");
+gate.FeatureMap features = Factory.newFeatureMap();
+features.put("rule ", "CityUniversity");
+features.put("orgType ", "university");
+outputAS.add(org.firstNode(), org.lastNode(), "Organization",
+features);
+outputAS.removeAll(org);
+}

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


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to