Revision: 17722
http://sourceforge.net/p/gate/code/17722
Author: dgmaynard
Date: 2014-03-21 14:49:45 +0000 (Fri, 21 Mar 2014)
Log Message:
-----------
differentiate more explicitly between initials with and without punctuation in
them
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 2014-03-21
14:38:11 UTC (rev 17721)
+++ gate/trunk/plugins/ANNIE/resources/NE/firstname.jape 2014-03-21
14:49:45 UTC (rev 17722)
@@ -125,6 +125,10 @@
Rule: Initials1
+// A.B.
+// A.
+// A
+
(
({Token.orth == upperInitial, Token.length =="1", !ClosedClass,
!NumberLetter}
({Token.string == "."})?
@@ -135,12 +139,14 @@
Rule: Initials2
+// AB
+// ABC
(
{Token.orth == allCaps, Token.length == "2", !Lookup, !ClosedClass,
!NumberLetter} |
{Token.orth == allCaps, Token.length == "3", !Lookup, !ClosedClass,
!NumberLetter}
):tag
-->
-:tag.Initials = {rule = "Initials2"}
+:tag.Initials = {kind == "nopunct", rule = "Initials2"}
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