2003-09-04 03:08:27 +00:00
|
|
|
// Test cases for Wylie -> [other representation] -> Wylie round-trip conversion.
|
|
|
|
//
|
|
|
|
// Each line in the file is a comment, blank, or one test case.
|
|
|
|
//
|
|
|
|
// A comment line starts with //.
|
|
|
|
//
|
|
|
|
// Each test case is understood as EWTS; it should convert back into itself.
|
|
|
|
|
|
|
|
// The following test cases are from DLC's DuffPaneTest.
|
|
|
|
tsha
|
|
|
|
tsa
|
|
|
|
dza
|
|
|
|
sha
|
|
|
|
nga
|
|
|
|
nag
|
|
|
|
nga /
|
|
|
|
bkra shis bde legs/
|
|
|
|
sgom pa'am
|
|
|
|
sgom pe'am
|
|
|
|
le'u'i'o
|
|
|
|
la'u'i'o/la'am/pa'ang/pe'ang
|
|
|
|
bras
|
|
|
|
dwa
|
|
|
|
gwa
|
|
|
|
gyug
|
|
|
|
g.yag
|
|
|
|
gyag
|
|
|
|
g.yas
|
|
|
|
gyas
|
|
|
|
'gas
|
|
|
|
gangs
|
|
|
|
gnags
|
|
|
|
'byung
|
|
|
|
'byungs
|
|
|
|
blags
|
|
|
|
mnags
|
|
|
|
gdams
|
|
|
|
'gams
|
|
|
|
|
|
|
|
// Random things known to be hard
|
|
|
|
|
|
|
|
// Difficult to parse deterministically
|
|
|
|
brgyud
|
|
|
|
|
|
|
|
// Featuritis
|
|
|
|
brtswand
|
|
|
|
|
2004-02-24 15:07:56 +00:00
|
|
|
// the only other case of superscript + root + wazur
|
|
|
|
rgwug
|
|
|
|
|
2003-09-04 03:08:27 +00:00
|
|
|
// two-letter suffix (not to be treated as n suffix + g second-suffix)
|
|
|
|
dbang
|
|
|
|
// plus second sufix
|
|
|
|
dbangs
|
|
|
|
|
|
|
|
// A common word that is not grammatical, according to some
|
|
|
|
// sources, and that is also hard because br- looks like
|
|
|
|
// b should be the root
|
|
|
|
brlabs
|
|
|
|
|
|
|
|
// "'is" is the form of kyis used after bare vowel or a chung
|
|
|
|
re'u'is
|
|
|
|
he'is
|
|
|
|
|
|
|
|
// Bare vowels
|
|
|
|
a
|
|
|
|
i
|
|
|
|
'o
|
|
|
|
'a
|
2004-02-27 10:29:21 +00:00
|
|
|
|
2004-02-24 15:07:56 +00:00
|
|
|
// Bare polyvowels; not clear if these are really legal, but:
|
2003-09-04 03:08:27 +00:00
|
|
|
a'o
|
|
|
|
i'u'i
|
|
|
|
'o'i
|
|
|
|
|
|
|
|
// things that at one time or another tickled bugs in WW code
|
|
|
|
gyurd
|
|
|
|
ga*ra
|
|
|
|
ha_sa
|
|
|
|
gangs
|
|
|
|
mngas
|
|
|
|
'gram
|
2004-04-12 08:26:45 +00:00
|
|
|
la'i
|
|
|
|
a'i
|
|
|
|
od
|
|
|
|
bem a ra
|
|
|
|
lnga
|
|
|
|
lang
|
2004-10-31 03:59:11 +00:00
|
|
|
mkha'i
|
|
|
|
mkhe'i
|
|
|
|
khe'i
|
2004-04-12 08:26:45 +00:00
|
|
|
|
|
|
|
// A-chung as root
|
|
|
|
'a
|
|
|
|
'od
|
|
|
|
'angs
|
|
|
|
'ag
|
|
|
|
'ad
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
// The exceptions to the three-letter root rule
|
|
|
|
rags lags nags bags bangs gangs rangs langs nangs sangs babs rabs rams nams
|
|
|
|
|
|
|
|
// This is my old root-letter-capitalization and pronunciation test suite.
|
|
|
|
// It's should also be good for tickling conversion bugs.
|
|
|
|
grwa
|
|
|
|
bsgrubs
|
|
|
|
bzlog
|
|
|
|
brlabs
|
|
|
|
sprul
|
2004-02-24 15:07:56 +00:00
|
|
|
// this one is important because it's an exception to the rule that in a
|
|
|
|
// row of three consonants, the second is almost always the root.
|
2003-09-04 03:08:27 +00:00
|
|
|
shabs
|
|
|
|
shes
|
|
|
|
ldan
|
|
|
|
mgon
|
|
|
|
rgyud
|
|
|
|
ten
|
|
|
|
rigs
|
|
|
|
chos
|
|
|
|
dbang
|
|
|
|
dbying
|
|
|
|
dbyang
|
|
|
|
spyang
|
|
|
|
phyug
|
|
|
|
byang
|
|
|
|
sbyin
|
|
|
|
myur
|
|
|
|
po'i
|
|
|
|
mri
|
|
|
|
srung
|
|
|
|
mkha'
|
|
|
|
'gro
|
|
|
|
rta'i
|
|
|
|
khwa
|
|
|
|
rdzogs
|
|
|
|
rdo
|
|
|
|
rje
|
|
|
|
zla
|
|
|
|
bar
|
|
|
|
ngan
|
|
|
|
rnga
|
|
|
|
g.yo
|
|
|
|
gyo
|
|
|
|
dpa'
|
|
|
|
'dag
|
|
|
|
klu
|
|
|
|
khyung
|
|
|
|
|
|
|
|
// These are from DLC's PackageTest
|
|
|
|
brtan
|
|
|
|
blta
|
|
|
|
blag
|
|
|
|
brag
|
|
|
|
bsabs
|
|
|
|
zungs
|
|
|
|
brtib
|
|
|
|
spyoms
|
|
|
|
sku'i
|
|
|
|
bskyangs
|
|
|
|
ag
|
|
|
|
bda'
|
|
|
|
dbang
|
|
|
|
dga'
|
|
|
|
dgra
|
|
|
|
dmar
|
|
|
|
gda'
|
|
|
|
|
|
|
|
// Sanskrit
|
|
|
|
|
|
|
|
// Tests from DLC
|
|
|
|
ai
|
|
|
|
heM hiM h-iM heM haiM hoM hauM hUM
|
|
|
|
pad+me
|
|
|
|
D+h+D+ha
|
|
|
|
gaD+h+D+ha
|
|
|
|
autapa
|
|
|
|
parItshatsawa
|
|
|
|
ke:
|
|
|
|
ka:
|
|
|
|
n+yadA
|
|
|
|
ak+Sha
|
|
|
|
Asa
|
|
|
|
AT+Ta
|
|
|
|
b+da
|
|
|
|
d+ba
|
|
|
|
d+ga
|
|
|
|
d+g+ra
|
|
|
|
d+gara
|
|
|
|
|
|
|
|
// Other Sanskrit
|
|
|
|
rak+Shasa
|
|
|
|
DAkinI
|
|
|
|
haM
|
|
|
|
pad+ma
|
|
|
|
samuts+tsaya
|
|
|
|
gang+gA
|
|
|
|
sid+d+hi
|
|
|
|
shrI
|
|
|
|
sat+t+wa
|
|
|
|
sarma
|
2004-02-22 09:27:12 +00:00
|
|
|
hU~M`!
|
|
|
|
wa~M`ba~MthangumaM
|
|
|
|
|
2004-04-12 08:26:45 +00:00
|
|
|
// Sanskrit bug ticklers
|
|
|
|
ragyada
|
|
|
|
'agarma
|
|
|
|
gayaradasa
|
2005-01-12 11:38:55 +00:00
|
|
|
// WylieWord 2.0 got this wrong (and I didn't have a test for it then)
|
|
|
|
baraga
|
|
|
|
// There's special-case code for lng in Sanskrit
|
|
|
|
lngaTa
|
2004-04-12 08:26:45 +00:00
|
|
|
|
2004-02-22 09:27:12 +00:00
|
|
|
// R+, +W, +Y, +R
|
|
|
|
paN+D+R+yau
|
|
|
|
k+Sh+RUM
|
2004-04-21 19:30:10 +00:00
|
|
|
kaR+Wabi
|
2004-02-22 09:27:12 +00:00
|
|
|
waw+Wa
|
|
|
|
fuN+D+Yo
|
|
|
|
yay+Yaya
|
2004-04-21 19:30:10 +00:00
|
|
|
R+Yi
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
// Taken from THDL Sechen text collection
|
|
|
|
dashadigAMsarbatimirabi ni saranan+nAmashrIguh+yagar+b+hatatwaMsh+ts+yayastanataras+yaTa'ikAbiharatisma
|
|
|
|
shrI tan+t+radzamAyadzalasamudAyArtas+yadwArAt+nish+tsitasub+haShitaMguh+yapatimukhAgamanAmabiharatisma
|
|
|
|
guh+ya pa ti sa shad+h+ya laM kA ra nA ma shrA iguh+ya gar+b+ha ta twa pa in ish+tsa ya tan+t+ra s+ya pr-i t+t-i bi ha rti sma
|
|
|
|
|
|
|
|
// Bare vowels:
|
|
|
|
A I U -i -I
|
|
|
|
// leading weird vowels
|
|
|
|
aiga
|
|
|
|
-Iba
|
2003-10-09 15:36:27 +00:00
|
|
|
// two or more vowels in a row
|
|
|
|
a.a
|
2004-02-27 10:29:21 +00:00
|
|
|
// A.I.ai !!! WW is known not to be able to deal with .-
|
|
|
|
ai.a
|
|
|
|
I.a
|
|
|
|
A.a
|
|
|
|
A.A
|
|
|
|
a.a
|
|
|
|
// ai.-i !!! WW is known not to be able to deal with .-
|
2003-10-09 15:36:27 +00:00
|
|
|
-I.e
|
2004-02-27 10:29:21 +00:00
|
|
|
he.a
|
|
|
|
ha.e
|
|
|
|
ha.a
|
|
|
|
hai.a
|
|
|
|
ha.ai
|
|
|
|
hU.a
|
|
|
|
ha.A
|
|
|
|
ha.U
|
|
|
|
|
|
|
|
// fun with weird vowels; these test cases look similar, but actually mostly go through different paths
|
|
|
|
// in the (wretchedly convoluted) code.
|
|
|
|
hA.A
|
|
|
|
hA.a
|
|
|
|
hA.e
|
|
|
|
hA.ai
|
|
|
|
// hA.-i !!! WW is known not to be able to deal with .-
|
|
|
|
hU.A
|
|
|
|
hU.a
|
|
|
|
hU.e
|
|
|
|
hU.ai
|
|
|
|
// hU.-i !!! WW is known not to be able to deal with .-
|
|
|
|
hAMA
|
|
|
|
hAMa
|
|
|
|
hAMe
|
|
|
|
hAMai
|
|
|
|
hAM-i
|
|
|
|
hAMu
|
|
|
|
hA.Ada
|
|
|
|
hA.ada
|
|
|
|
hA.eda
|
|
|
|
hA.aida
|
|
|
|
hiMa
|
|
|
|
ho~M`a
|
|
|
|
// hA.-ida !!! WW is known not to be able to deal with .-
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
// M,H on bare vowel
|
|
|
|
aiM
|
|
|
|
eM
|
2004-02-22 09:27:12 +00:00
|
|
|
U~M
|
|
|
|
au~M`
|
2003-09-04 03:08:27 +00:00
|
|
|
aH
|
|
|
|
aiH
|
|
|
|
|
2004-02-22 09:27:12 +00:00
|
|
|
// bindus in the middle of a word
|
2003-09-04 03:08:27 +00:00
|
|
|
gaMb+ha
|
2004-02-22 09:27:12 +00:00
|
|
|
hUMhU~MhU~M`
|
|
|
|
aMu~MraH
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
raMH
|
|
|
|
|
|
|
|
// Semivowel as subscript.
|
|
|
|
hr-I kl-iba
|
|
|
|
|
|
|
|
// Difficult because ny+d is not legal
|
|
|
|
ny+dza
|
|
|
|
|
|
|
|
raH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
|
|
|
|
fai
|
|
|
|
vo
|
|
|
|
fI/ fai/ fo/ fuM
|
|
|
|
|
|
|
|
// punctuation
|
|
|
|
012345678901234
|
|
|
|
!@#$%&*()_={}:;<>?
|
|
|
|
a_tsal852ja$)@#%(!Ta)0daM)%!@sa
|
|
|
|
// test special handing for @#
|
|
|
|
@# #@ @a#
|
|
|
|
|
2005-01-19 01:14:31 +00:00
|
|
|
// Test of [] nesting. Anything ending in t will fail if it isn't "protected" by [].
|
|
|
|
ra[rat[bat[hat]sat]mat]fa
|
|
|
|
|
2005-01-16 00:58:50 +00:00
|
|
|
// !!! We *don't* test X/~X here because they are known not to work.
|
|
|
|
|
2004-11-01 07:59:29 +00:00
|
|
|
// English inserts
|
2004-04-12 08:26:45 +00:00
|
|
|
rta'i [(of horse)] mgrin
|
2005-01-16 00:58:50 +00:00
|
|
|
|
|
|
|
// It would be really good to have a test of the \ syntax, but that
|
|
|
|
// doesn't translate back to itself, so we can't pass it.
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
<?Reject?>
|
|
|
|
|
2005-01-12 11:38:55 +00:00
|
|
|
g+a
|
|
|
|
+a
|
|
|
|
Su
|
|
|
|
S+ta
|
|
|
|
t+Sa
|
|
|
|
b~a
|
|
|
|
ba~
|
|
|
|
|
2003-09-04 03:08:27 +00:00
|
|
|
// ??? legal???
|
|
|
|
pa'am'ang
|
|
|
|
// is this actually illegal?
|
|
|
|
pe'as
|
|
|
|
|
2004-02-24 15:07:56 +00:00
|
|
|
pe's
|
|
|
|
p'is
|
|
|
|
p'e
|
|
|
|
|
2003-09-04 03:08:27 +00:00
|
|
|
bskyUMbs
|
|
|
|
bskyUMbsHgro
|
|
|
|
xan
|
|
|
|
tax
|
|
|
|
qan
|
|
|
|
taq
|
|
|
|
shae
|
|
|
|
aeb
|
|
|
|
.
|
|
|
|
+
|
|
|
|
.y
|
|
|
|
// Arguable if these are illegal
|
|
|
|
g.ra
|
|
|
|
r.ya
|
|
|
|
+a
|
|
|
|
e+ya
|
|
|
|
ba+
|
|
|
|
b+
|
|
|
|
M
|
2004-02-22 09:27:12 +00:00
|
|
|
~M
|
2003-09-04 03:08:27 +00:00
|
|
|
Ma
|
|
|
|
Mam
|
2004-02-22 09:27:12 +00:00
|
|
|
~Ma
|
|
|
|
~Mam
|
2003-09-04 03:08:27 +00:00
|
|
|
|
|
|
|
tat
|
2003-09-23 16:55:06 +00:00
|
|
|
sbla
|
|
|
|
|
2004-02-24 15:07:56 +00:00
|
|
|
// Skt can't end in consonant
|
2003-09-23 16:55:06 +00:00
|
|
|
ragyad
|
|
|
|
|
|
|
|
// no vowel between ' and g
|
|
|
|
'garma
|
2004-04-12 08:26:45 +00:00
|
|
|
|
|
|
|
// stuff testing handling of ' as root
|
|
|
|
b'o
|
|
|
|
r'o
|
|
|
|
'yo
|
|
|
|
'wo
|
2005-01-12 11:38:55 +00:00
|
|
|
|
|
|
|
// Obscure special case
|
|
|
|
lng+ta
|
|
|
|
|
|
|
|
// These were rejected by WylieWord 2.0 because they are non-TMW stacks; but they are legal Unicode stacks,
|
|
|
|
// so we shouldn't reject them (when in Unicode mode).
|
|
|
|
//
|
|
|
|
// b+g+ka
|
|
|
|
// a+ba
|
|
|
|
// r+ra
|
2005-01-16 00:58:50 +00:00
|
|
|
|
|
|
|
// This is legal in Unicode but not TMW:
|
|
|
|
// b+'u
|