tylergneill / skrutable

Toolkit for manipulating Sanskrit text with Python
Other
14 stars 3 forks source link

fix: correct SLP final-char transliteration bug #38

Closed tylergneill closed 3 weeks ago

tylergneill commented 3 weeks ago

Diagnosis: When transliterating from an Indic script, if the final character is an SLP consonant (e.g., R, N), then there is a KeyError on phonemes.virAmas[to_scheme].

Fix: Just control for from_scheme.