Revision: 18257
http://sourceforge.net/p/gate/code/18257
Author: markagreenwood
Date: 2014-08-19 17:37:54 +0000 (Tue, 19 Aug 2014)
Log Message:
-----------
fixed a bug that was copying the gender from the wrong feature
Modified Paths:
--------------
gate/trunk/plugins/ANNIE/resources/NE/name.jape
Modified: gate/trunk/plugins/ANNIE/resources/NE/name.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/name.jape 2014-08-19 17:19:27 UTC
(rev 18256)
+++ gate/trunk/plugins/ANNIE/resources/NE/name.jape 2014-08-19 17:37:54 UTC
(rev 18257)
@@ -814,7 +814,7 @@
gate.AnnotationSet surnameSet = (gate.AnnotationSet)bindings.get("surname");
gate.Annotation surnameAnn = (gate.Annotation)surnameSet.iterator().next();
- features.put("gender", firstNameAnn.getFeatures().get("minorType"));
+ features.put("gender", firstNameAnn.getFeatures().get("gender"));
String firstNameContent = gate.Utils.stringFor(doc, firstNameAnn);
features.put("firstName", firstNameContent);
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