Disambiguation was not being used appropriately. This makes previous

TMW->Wylie conversions with the new-and-improved TMW->Wylie
algorithm faulty.

Now I'm using it a little more than you need to, e.g. b.lha instead of blha is
generated because bla and b.la are ambiguous.
This commit is contained in:
dchandler 2003-07-13 19:14:15 +00:00
parent 96afae795c
commit d10f97fc06

View file

@ -173,7 +173,7 @@ public class DuffPaneTest extends TestCase {
ensureKeysGiveCorrectWylie("b.lag");
ensureKeysGiveCorrectWylie("blg",
"blga");
"b.lga"); // LOW-PRIORITY FIXME: blga is not ambiguous; we're disambiguating without good reason
ensureKeysGiveCorrectWylie("b.las",
"bals");
@ -184,7 +184,7 @@ public class DuffPaneTest extends TestCase {
ensureKeysGiveCorrectWylie("b.rag");
ensureKeysGiveCorrectWylie("brg",
"brga");
"b.rga"); // LOW-PRIORITY FIXME: brga is not ambiguous; we're disambiguating without good reason
ensureKeysGiveCorrectWylie("bars");
ensureKeysGiveCorrectWylie("b.rs",
@ -302,7 +302,8 @@ public class DuffPaneTest extends TestCase {
ensureKeysGiveCorrectWylie("hi.M ho.M he.M hu.M",
"hiM hoM heM huM");
ensureKeysGiveCorrectWylie("brgwU-imd");
ensureKeysGiveCorrectWylie("brgwU-imd",
"b.rgwU-imd"); // LOW-PRIORITY FIXME: brgwU-imd is not ambiguous; we're disambiguating without good reason
ensureKeysGiveCorrectWylie("pad+me");
ensureKeysGiveCorrectWylie("pad+men+b+h+yuM");