Fixed EWTS->Tibetan [g.yogs] bug.
This commit is contained in:
parent
63ff0fb0c9
commit
f5d87ab226
3 changed files with 10 additions and 3 deletions
|
@ -151,7 +151,7 @@ public class EWTSTest extends TestCase {
|
|||
/** Tests that the EWTS->unicode converter isn't completely
|
||||
braindead. */
|
||||
public void testEwtsBasics() {
|
||||
if (RUN_FAILING_TESTS) ewts2uni_test("g.yogs", "\u0f42\u0f61\u0f7c\u0f42\u0f66"); // TODO(DLC)[EWTS->Tibetan]: DLC NOW!
|
||||
ewts2uni_test("g.yogs", "\u0f42\u0f61\u0f7c\u0f42\u0f66");
|
||||
if (RUN_FAILING_TESTS) ewts2uni_test("hUM^", "TODO(DLC)[EWTS->Tibetan]: DLC NOW");
|
||||
ewts2uni_test("brgyad", "\u0f56\u0f62\u0f92\u0fb1\u0f51");
|
||||
ewts2uni_test("brjod", "\u0f56\u0f62\u0f97\u0f7c\u0f51");
|
||||
|
|
|
@ -571,8 +571,10 @@ class TPairList {
|
|||
}
|
||||
}
|
||||
}
|
||||
boolean hasNonAVowel = (!traits.aVowel().equals(p.getRight())
|
||||
&& null != p.getRight());
|
||||
boolean hasNonAVowel
|
||||
= (!traits.aVowel().equals(p.getRight())
|
||||
&& null != p.getRight()
|
||||
&& !traits.disambiguator().equals(p.getRight())); // [g.yogs] needs this, e.g.
|
||||
String thislWylie = traits.getEwtsForConsonant(p.getLeft());
|
||||
if (thislWylie == null) {
|
||||
char ch;
|
||||
|
|
|
@ -65,4 +65,9 @@ class TTGCList implements TGCList {
|
|||
public int getTPairListIndex(int tgcPairIndex) {
|
||||
return ((Integer)stackIndices.get(tgcPairIndex)).intValue();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return ("<a TTGCList of " + size() + " TGCPairs: " + al.toString()
|
||||
+ " with stack indices " + stackIndices.toString() + ">");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue