Revision: 17724
          http://sourceforge.net/p/gate/code/17724
Author:   dgmaynard
Date:     2014-03-21 15:00:22 +0000 (Fri, 21 Mar 2014)
Log Message:
-----------
typo

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

Modified: gate/trunk/plugins/ANNIE/resources/NE/firstname.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/firstname.jape        2014-03-21 
14:55:37 UTC (rev 17723)
+++ gate/trunk/plugins/ANNIE/resources/NE/firstname.jape        2014-03-21 
15:00:22 UTC (rev 17724)
@@ -147,6 +147,6 @@
  {Token.orth == allCaps, Token.length == "3", !Lookup, !ClosedClass, 
!NumberLetter}
 ):tag
 -->
-:tag.Initials = {kind == "nopunct", rule = "Initials2"}
+:tag.Initials = {kind = "nopunct", rule = "Initials2"}
 
 

Modified: gate/trunk/plugins/ANNIE/resources/NE/name.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/name.jape     2014-03-21 14:55:37 UTC 
(rev 17723)
+++ gate/trunk/plugins/ANNIE/resources/NE/name.jape     2014-03-21 15:00:22 UTC 
(rev 17724)
@@ -493,8 +493,27 @@
 -->
 :loc.TempLocation = {kind = "locName", rule = LocPersonAmbig2}
 
+Rule: PersonFullInitialsCaps
+Priority: 100
+// TO FISH
+// If the initials is of type nopunct, we want to discard the Person if the 
surname is also in all caps, as it's too ambiguous
 
+(
+ {Token.category == DT}
+)?
+(
+ 
+  ({Initials.kind == nopunct})
+  ((FIRSTNAME | FIRSTNAMEAMBIG )?)
+ ((PREFIX)*
+  ({Upper.kind == allCaps})
+  (PERSONENDING)?
+ )
+):person -->
+:person.Discard = {rule = "PersonFullInitialsCaps"}
 
+
+
 Rule:  PersonFullInitials
 Priority: 10
 // F.W. Jones

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to