Fix for part of bug 998476.
This commit is contained in:
parent
be632e1874
commit
287fc181a0
3 changed files with 55 additions and 64 deletions
|
@ -41,35 +41,12 @@ public class TinyTest extends DuffPaneTestBase {
|
|||
super(a0);
|
||||
}
|
||||
|
||||
/** Tests this part of bug 998476:
|
||||
|
||||
<pre>
|
||||
TMW -> EWTS conversion errors
|
||||
The following incorrect conversion are happening:
|
||||
|
||||
dga'o -> dag'o
|
||||
bsad -> bas.d
|
||||
'da'i -> 'ad'i
|
||||
|
||||
'da'i should produce 'da'i since the genitive particle 'i can
|
||||
only be appended to syllables that end with vowel or
|
||||
with a chung ('). For instance sgra + 'i = sgra'i, nam
|
||||
mkha' + 'i = nam mkha'i. The case here is 'da' + 'i = 'da'i.
|
||||
syllable 'ad can't take the genitive 'i, so 'ad'i is invalid.
|
||||
|
||||
Of course this is a hypothetical syllable with no meaning,
|
||||
but following the rules 'ad would be correct. 'da would be
|
||||
mistaken. "In two-lettered words, the first is always the
|
||||
root letter." (losang thonden's modern tibetan language,
|
||||
pag 41).
|
||||
</pre>
|
||||
|
||||
/** Tests part of bug 998476.
|
||||
*/
|
||||
public void testBug998476() {
|
||||
enableEWTSKeyboard();
|
||||
e("dga'o", "dag'o"); // FIXME: this is a bug
|
||||
e("bsad", "bas.d"); // FIXME: this is a bug
|
||||
e("'da'i", "'ad'i"); // FIXME: this is a bug
|
||||
// DLC FIXME 998476: make e("bsad") pass.
|
||||
e("lM");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue