Revision: 17689
http://sourceforge.net/p/gate/code/17689
Author: dgmaynard
Date: 2014-03-18 12:24:37 +0000 (Tue, 18 Mar 2014)
Log Message:
-----------
more contextual rules
Modified Paths:
--------------
gate/trunk/plugins/ANNIE/resources/NE/loc_context.jape
Modified: gate/trunk/plugins/ANNIE/resources/NE/loc_context.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/loc_context.jape 2014-03-18
12:18:44 UTC (rev 17688)
+++ gate/trunk/plugins/ANNIE/resources/NE/loc_context.jape 2014-03-18
12:24:37 UTC (rev 17689)
@@ -20,6 +20,7 @@
Rule: LocConjLoc1
Priority: 10
+// Unknown and Location
(
{Unknown.kind == PN}
@@ -44,6 +45,8 @@
Rule: LocConjLoc2
Priority: 10
+// Location and Unknown
+
(
{Location}
{Token.category == CC}
@@ -94,3 +97,12 @@
:tag.Location = {locType = region, rule = "LocState"}
+Rule: UnknownLocKey
+Priority: 20
+(
+ ({Unknown}):tag
+ {Lookup.majorType == loc_general_key}
+)
+-->
+:tag.Location = {locType = unknown, rule = "UnknownLocKey"}
+
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