Revision: 6179
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6179&view=rev
Author:   dnaber
Date:     2012-01-07 10:47:30 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
[en] fix false alarm for "an ?\206?\177-evaluating"

Modified Paths:
--------------
    trunk/JLanguageTool/src/java/org/languagetool/rules/en/AvsAnRule.java
    trunk/JLanguageTool/src/rules/en/det_an.txt

Modified: trunk/JLanguageTool/src/java/org/languagetool/rules/en/AvsAnRule.java
===================================================================
--- trunk/JLanguageTool/src/java/org/languagetool/rules/en/AvsAnRule.java       
2012-01-07 10:42:34 UTC (rev 6178)
+++ trunk/JLanguageTool/src/java/org/languagetool/rules/en/AvsAnRule.java       
2012-01-07 10:47:30 UTC (rev 6179)
@@ -87,7 +87,7 @@
       if (parts.length >= 1 && !parts[0].equalsIgnoreCase("a")) {  // avoid 
false alarm on "A-levels are..."
         token = parts[0];
       }
-      token = token.replaceAll("[^a-zA-Z0-9\\.']", "");         // e.g. >>an 
"industry party"<<
+      token = token.replaceAll("[^αa-zA-Z0-9\\.']", "");         // e.g. >>an 
"industry party"<<
       if (StringTools.isEmpty(token)) {
         continue;
       }

Modified: trunk/JLanguageTool/src/rules/en/det_an.txt
===================================================================
--- trunk/JLanguageTool/src/rules/en/det_an.txt 2012-01-07 10:42:34 UTC (rev 
6178)
+++ trunk/JLanguageTool/src/rules/en/det_an.txt 2012-01-07 10:47:30 UTC (rev 
6179)
@@ -2,6 +2,7 @@
 # though they don't begin with [aeiou] (words are case-insensitive unless 
 # the line starts with '*').
 # Also see: 
http://www.learnenglish.org.uk/grammar/archive/articles_pronunciation.html
+α
 8
 8m
 11

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to