Revision: 17096
http://sourceforge.net/p/gate/code/17096
Author: dgmaynard
Date: 2013-11-14 18:36:34 +0000 (Thu, 14 Nov 2013)
Log Message:
-----------
German NE now recognises Unknowns and matches them with entities via the
Orthomatcher. For some reason this has always been missing
Modified Paths:
--------------
gate/trunk/plugins/Lang_German/resources/grammar/main.jape
Added Paths:
-----------
gate/trunk/plugins/Lang_German/resources/grammar/unknown.jape
Modified: gate/trunk/plugins/Lang_German/resources/grammar/main.jape
===================================================================
--- gate/trunk/plugins/Lang_German/resources/grammar/main.jape 2013-11-14
15:46:17 UTC (rev 17095)
+++ gate/trunk/plugins/Lang_German/resources/grammar/main.jape 2013-11-14
18:36:34 UTC (rev 17096)
@@ -8,4 +8,5 @@
org
money
number
+unknown
Added: gate/trunk/plugins/Lang_German/resources/grammar/unknown.jape
===================================================================
--- gate/trunk/plugins/Lang_German/resources/grammar/unknown.jape
(rev 0)
+++ gate/trunk/plugins/Lang_German/resources/grammar/unknown.jape
2013-11-14 18:36:34 UTC (rev 17096)
@@ -0,0 +1,40 @@
+
+Phase: Unknown
+Input: Location Person Date Organization Address Money Percent Token JobTitle
Lookup Exception
+Options: control = appelt
+
+
+Rule: Known
+Priority: 100
+(
+ {Location}|
+ {Person}|
+ {Date}|
+ {Organization}|
+ {Address}|
+ {Money} |
+ {Percent}|
+ {Exception}|
+ {JobTitle}|
+ {Lookup}
+):known
+-->
+{}
+
+
+Rule:Unknown
+Priority: 50
+(
+ {Token.category == NE}
+)
+:unknown
+-->
+ :unknown.Unknown = {kind = "PN", rule = Unknown}
+
+
+
+
+
+
+
+
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs