Revision: 17744
http://sourceforge.net/p/gate/code/17744
Author: dgmaynard
Date: 2014-03-27 14:12:48 +0000 (Thu, 27 Mar 2014)
Log Message:
-----------
bumping up both Precision and Recall for Orgs. Well I never.
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-03-27
13:51:31 UTC (rev 17743)
+++ gate/trunk/plugins/ANNIE/resources/NE/org_context.jape 2014-03-27
14:12:48 UTC (rev 17744)
@@ -319,5 +319,22 @@
}
+Rule: OrgBracketOrg
+Priority: 30
+(
+ {Organization}
+ {Token.string == "("}
+)
+({Initials, Unknown.kind == PN}):org
+-->
+{
+gate.AnnotationSet org = (gate.AnnotationSet) bindings.get("org");
+gate.FeatureMap features = Factory.newFeatureMap();
+features.put("rule ", "OrgBracketOrg");
+features.put("orgType ", "unknown");
+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.
------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs