accepting both acip and wylie now
This commit is contained in:
parent
836604a97a
commit
8be8924cfc
1 changed files with 2 additions and 7 deletions
|
@ -205,8 +205,8 @@ class LocalTibetanScanner implements TibetanScanner
|
||||||
|
|
||||||
if (len<3) return null;
|
if (len<3) return null;
|
||||||
|
|
||||||
char lastCar = sil.charAt(len-1);
|
char lastCar = Character.toLowerCase(sil.charAt(len-1));
|
||||||
if ((lastCar == 's' || lastCar == 'r') && isVowel(sil.charAt(len-2)))
|
if ((lastCar == 's' || lastCar == 'r') && Manipulate.isVowel(sil.charAt(len-2)))
|
||||||
{
|
{
|
||||||
isDeclined=true;
|
isDeclined=true;
|
||||||
sil = sil.substring(0, len-1);
|
sil = sil.substring(0, len-1);
|
||||||
|
@ -356,11 +356,6 @@ outAHere:
|
||||||
return token;
|
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.
|
/** Looks for .dic file, and returns the dictionary descriptions.
|
||||||
Also updates the definitionTags in the Definitions class.
|
Also updates the definitionTags in the Definitions class.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue