accepting both acip and wylie now

This commit is contained in:
amontano 2002-10-18 23:28:49 +00:00
parent 836604a97a
commit 8be8924cfc

View file

@ -205,8 +205,8 @@ class LocalTibetanScanner implements TibetanScanner
if (len<3) return null;
char lastCar = sil.charAt(len-1);
if ((lastCar == 's' || lastCar == 'r') && isVowel(sil.charAt(len-2)))
char lastCar = Character.toLowerCase(sil.charAt(len-1));
if ((lastCar == 's' || lastCar == 'r') && Manipulate.isVowel(sil.charAt(len-2)))
{
isDeclined=true;
sil = sil.substring(0, len-1);
@ -356,11 +356,6 @@ outAHere:
return token;
}
private static boolean isVowel(char ch)
{
return (ch=='a' || ch=='e' || ch=='i' || ch=='o' || ch=='u');
}
/** Looks for .dic file, and returns the dictionary descriptions.
Also updates the definitionTags in the Definitions class.
*/