Revision: 18115
http://sourceforge.net/p/gate/code/18115
Author: dgmaynard
Date: 2014-06-23 11:19:17 +0000 (Mon, 23 Jun 2014)
Log Message:
-----------
fixed a bug in Money that I can't believe no one ever found before
Modified Paths:
--------------
gate/trunk/plugins/ANNIE/resources/NE/number.jape
gate/trunk/plugins/ANNIE/resources/gazetteer/currency_unit.lst
Modified: gate/trunk/plugins/ANNIE/resources/NE/number.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/NE/number.jape 2014-06-23 10:42:52 UTC
(rev 18114)
+++ gate/trunk/plugins/ANNIE/resources/NE/number.jape 2014-06-23 11:19:17 UTC
(rev 18115)
@@ -75,7 +75,7 @@
// 30 pounds
(
(AMOUNT_NUMBER)
- ({Lookup.majorType == currency_unit})
+ ({Lookup.majorType == currency_unit,Lookup.minorType == post_amount})
)
:number -->
:number.Money = {kind = "number", rule = "MoneyCurrencyUnit"}
@@ -94,7 +94,7 @@
{Lookup.majorType == currency_unit})
(AMOUNT_NUMBER)
(
- {Lookup.majorType == currency_unit}
+ {Lookup.majorType == currency_unit, Lookup.minorType == post_amount}
)?
)
:number
Modified: gate/trunk/plugins/ANNIE/resources/gazetteer/currency_unit.lst
===================================================================
--- gate/trunk/plugins/ANNIE/resources/gazetteer/currency_unit.lst
2014-06-23 10:42:52 UTC (rev 18114)
+++ gate/trunk/plugins/ANNIE/resources/gazetteer/currency_unit.lst
2014-06-23 11:19:17 UTC (rev 18115)
@@ -255,3 +255,4 @@
Yen
Zaire
Zloty
+USD
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs