]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/bin/recomm/recommLexer.mll
update in gruound
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommLexer.mll
index 99ff840af11fddea6f36185c88ce325d03a0c248..83a2892472a11f3b2cfa72e937972cf995097175 100644 (file)
@@ -5,6 +5,7 @@
 
   let keys = [|
     "Note";
+    "NOTE";
   |]
 
   let heads = [|
@@ -37,9 +38,9 @@
     aux (String.length s - 1)
 
   let disambiguate_word s =
-    if is_uppercase_ascii s then EP.CW s else
     if Array.mem s keys then EP.KW s else
     if Array.mem s heads then EP.HW s else
+    if is_uppercase_ascii s then EP.CW s else
     EP.SW s
 
   let log s =