TMW->Wylie conversion now takes advantage of prefix rules, the rules
that say "ya can take a ga prefix" etc. The ACIP->Unicode converter now gives warnings (optionally, and by default, inline). This converter now produces output even when lexical errors occur, but the output has errors and warnings inline.
This commit is contained in:
parent
21ef657921
commit
d5ad760230
14 changed files with 678 additions and 270 deletions
|
@ -232,6 +232,14 @@ public class UnicodeUtils implements UnicodeConstants {
|
|||
/* DLC FIXME -- I was using 3.0 p.437-440, check 3.2. */
|
||||
}
|
||||
|
||||
/** If ch is in one of the ranges U+0F90-U+0F97, U+0F99-U+0FB9,
|
||||
* then this returns the same consonant in the range
|
||||
* U+0F40-U+0F69. If ch is not in that range, this returns
|
||||
* garbage. */
|
||||
public static char getNominalRepresentationOfSubscribedConsonant(char ch) {
|
||||
return (char)((int)ch-(((int)'\u0F90') - ((int)'\u0F40')));
|
||||
}
|
||||
|
||||
/** Returns true iff ch corresponds to the Tibetan letter ra.
|
||||
Several Unicode codepoints correspond to the Tibetan letter ra
|
||||
(in its subscribed form or otherwise). Oftentimes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue