Revision: 16012
          http://gate.svn.sourceforge.net/gate/?rev=16012&view=rev
Author:   markagreenwood
Date:     2012-08-14 15:39:14 +0000 (Tue, 14 Aug 2012)
Log Message:
-----------
copy the inferred flag from the parser into the features of the annotations

Modified Paths:
--------------
    
gate/trunk/plugins/Tagger_DateNormalizer/src/gate/creole/dates/DateNormalizer.java

Modified: 
gate/trunk/plugins/Tagger_DateNormalizer/src/gate/creole/dates/DateNormalizer.java
===================================================================
--- 
gate/trunk/plugins/Tagger_DateNormalizer/src/gate/creole/dates/DateNormalizer.java
  2012-08-14 01:18:57 UTC (rev 16011)
+++ 
gate/trunk/plugins/Tagger_DateNormalizer/src/gate/creole/dates/DateNormalizer.java
  2012-08-14 15:39:14 UTC (rev 16012)
@@ -372,6 +372,11 @@
         } else {
           params.put("complete", "false");
         }
+        
+        //store the inferred flags from the parser so people can have fine
+        //grained control if they need it
+        params.put("inferred", pp.getFeatures().get("inferred"));
+        
         // copy the relative date feature from the parser into the feature map
         params.put("relative", pp.getFeatures().get("relative"));
         // now create the annotation

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to