Now turns Tibetan into pa'am, not pa'm. Works with or without vowels

in the part preceding the 'am or 'ang, overcoming the inconsistency
that I'd put here for a short time.
This commit is contained in:
dchandler 2003-04-08 04:56:40 +00:00
parent eb71fb6075
commit 7dd67bbf6a
2 changed files with 63 additions and 72 deletions

View file

@ -628,6 +628,10 @@ public static boolean isVowel(String s) {
* transliteration, false if not
*/
public static boolean isAmbiguousWylie(String x, String y) {
// What about ambiguity between wa-zur and wa? dwa vs. d.wa, e.g.?
// Doesn't matter, because that's illegal. wa doesn't take any
// prefixes.
return (("g".equals(x) && "y".equals(y))
|| ("b".equals(x) && "l".equals(y))
|| ("b".equals(x) && "r".equals(y)));