Revision: 14713
          http://gate.svn.sourceforge.net/gate/?rev=14713&view=rev
Author:   nirajaswani
Date:     2011-12-09 16:17:31 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
setting case sensitive to false did not have the desired effect. Fixed the 
problem.

Modified Paths:
--------------
    gate/trunk/src/com/ontotext/gate/gazetteer/HashGazetteer.java

Modified: gate/trunk/src/com/ontotext/gate/gazetteer/HashGazetteer.java
===================================================================
--- gate/trunk/src/com/ontotext/gate/gazetteer/HashGazetteer.java       
2011-12-09 11:46:30 UTC (rev 14712)
+++ gate/trunk/src/com/ontotext/gate/gazetteer/HashGazetteer.java       
2011-12-09 16:17:31 UTC (rev 14713)
@@ -80,6 +80,9 @@
     annotationSet = document.getAnnotations(annotationSetName);
 
     String s = document.getContent().toString() + " ";
+    if(!super.caseSensitive.booleanValue()) {
+      s = s.toUpperCase();
+    }
 
     int i = s.length();
     int j = 0;

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


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to