Skip to content

Commit

Permalink
clarification from #22 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed Oct 27, 2024
1 parent 8767989 commit d635a6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions bophono/PhonStateKVP.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,6 @@ def combineWith(self, nextroot, nextend):
self.phon += ""
elif nextrootconsonant.startswith("dz") and self.position > 1:
self.phon += "z"
elif nextrootconsonant.startswith("tdr"):
# Here the KVP rules have the rather puzzling convention to have different rules
# for syllables that have the exact same phonology in Tibetan. It has:
# བྲ -> always dra
# དྲ -> dra in second position, tra in first position
# which doesn't make sense as Tibetans make no difference between བྲ and དྲ.
# We thus have to artificially differentiate them at the phonological level recorded in roots.csv
# By having "tdra" for དྲ.
if self.position == 1:
self.phon += "tr"
else:
self.phon += "dr"
else:
self.phon += nextrootconsonant
# decompose multi-syllable ends:
Expand Down
2 changes: 1 addition & 1 deletion bophono/data/roots.csv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
འཁྲ,~thr+,[']tr+,tr,tr
ག,kh-,k,g,g
གྱ,khy-,c,gy,gy
གྲ,thr-,tr,tdr,tr
གྲ,thr-,tr,dr,tr
གླ,l+,l,l,l
དག*,k-,[r]g,g,g
དགྱ,ky-,[r]j,gy,gy
Expand Down

0 comments on commit d635a6f

Please sign in to comment.