Revision: 19012
          http://sourceforge.net/p/gate/code/19012
Author:   dgmaynard
Date:     2015-11-27 16:06:30 +0000 (Fri, 27 Nov 2015)
Log Message:
-----------
fixed a bug in the rule that finds persons who are twitter users, and learnt 
something new about JAPE

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

Modified: gate/trunk/plugins/ANNIE/resources/NE/firstname.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/firstname.jape        2015-11-27 
14:32:01 UTC (rev 19011)
+++ gate/trunk/plugins/ANNIE/resources/NE/firstname.jape        2015-11-27 
16:06:30 UTC (rev 19012)
@@ -27,7 +27,7 @@
 ):person
 -->
 {
-gate.AnnotationSet person = (gate.AnnotationSet)bindings.get("person");
+gate.AnnotationSet person = 
(gate.AnnotationSet)bindings.get("person").get("Lookup");
 gate.Annotation personAnn = (gate.Annotation)person.iterator().next();
 gate.FeatureMap features = Factory.newFeatureMap();
 
@@ -62,7 +62,7 @@
 ):person
 -->
 {
-gate.AnnotationSet person = (gate.AnnotationSet)bindings.get("person");
+gate.AnnotationSet person = 
(gate.AnnotationSet)bindings.get("person").get("Lookup");
 gate.Annotation personAnn = (gate.Annotation)person.iterator().next();
 gate.FeatureMap features = Factory.newFeatureMap();
 

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


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to