tsroten / dragonmapper

Identification and conversion functions for Chinese text processing
MIT License
54 stars 18 forks source link

accented_to_numbered fails with uppercase letters #2

Closed tsroten closed 10 years ago

tsroten commented 10 years ago

accented_to_numbered() returns the original syllable with a '5' added to the end instead of actually deciphering the tone if the vowel with the diacritic is uppercase. This requires a simple fix that involves using _lower_case().