"sgom pa'm ", not "sgom pa'am", is now used. "pe'm " was being

produced already, so the code was inconsistent.  If it turns out that
"pe'am " is preferred, I'll fix it later.  Consistency is very
appealing.
This commit is contained in:
dchandler 2003-03-31 01:38:27 +00:00
parent 33b3080068
commit d836b850e8
3 changed files with 6 additions and 9 deletions

View file

@ -867,7 +867,6 @@ public class TibTextUtils implements THDLWylieConstants {
// prepend: // prepend:
tailEndWylie.insert(0, tailEndWylie.insert(0,
ACHUNG ACHUNG
+ aVowelToUseAfter(ACHUNG)
+ TibetanMachineWeb.getWylieForGlyph((DuffCode)glyphList.get(effectiveSize + 1))); + TibetanMachineWeb.getWylieForGlyph((DuffCode)glyphList.get(effectiveSize + 1)));
effectiveSize -= 2; effectiveSize -= 2;
} }

View file

@ -443,16 +443,14 @@ public final class LegalTshegBar
new String( new char[] { new String( new char[] {
EWC_achung, EWC_ma EWC_achung, EWC_ma
}), }),
THDLWylieConstants.ACHUNG + THDLWylieConstants.WYLIE_aVOWEL THDLWylieConstants.ACHUNG + THDLWylieConstants.MA
+ THDLWylieConstants.MA
}, },
{ {
// meaning or, as opposed to and: // meaning or, as opposed to and:
new String( new char[] { new String( new char[] {
EWC_achung, EWC_nga EWC_achung, EWC_nga
}), }),
THDLWylieConstants.ACHUNG + THDLWylieConstants.WYLIE_aVOWEL THDLWylieConstants.ACHUNG + THDLWylieConstants.NGA
+ THDLWylieConstants.NGA
} }
}; };

View file

@ -39,7 +39,7 @@ public class LegalTshegBarTest extends TestCase implements UnicodeConstants {
} }
/** Tests the getThdlWylie() method to see if we /** Tests the getThdlWylie() method to see if we
handle "le'u'i'o", "sgom pa'am", "sgom pa'ang", etc. handle "le'u'i'o", "sgom pa'm", "sgom pa'ng", etc.
*/ */
public void testGetThdlWylieForLongSuffixLikeThings() { public void testGetThdlWylieForLongSuffixLikeThings() {
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_la, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_la,
@ -61,15 +61,15 @@ public class LegalTshegBarTest extends TestCase implements UnicodeConstants {
EWC_achung, EWV_o, EWC_achung, EWV_o,
EWC_achung, EWC_ma EWC_achung, EWC_ma
}), }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("la'u'i'o'am'ang'o'am")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("la'u'i'o'm'ng'o'm"));
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa,
EW_ABSENT, false, false, EW_ABSENT, false, false,
new String(new char[] { EWC_achung, EWC_ma }), new String(new char[] { EWC_achung, EWC_ma }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'am")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'm"));
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa,
EW_ABSENT, false, false, EW_ABSENT, false, false,
new String(new char[] { EWC_achung, EWC_nga }), new String(new char[] { EWC_achung, EWC_nga }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'ang")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'ng"));
} }
/** Tests the getThdlWylie() method and one of the constructors. */ /** Tests the getThdlWylie() method and one of the constructors. */