Skip to content

Map schwa U+0259 to "e" (#91) - #114

Open
IMGillusion wants to merge 1 commit into
avian2:masterfrom
IMGillusion:fix-91-schwa
Open

IMGillusion wants to merge 1 commit into
avian2:masterfrom
IMGillusion:fix-91-schwa

Conversation

@IMGillusion

Copy link
Copy Markdown

Fixes #91.

The schwa (U+0259) was transliterated to "@" while the surrounding schwa-family vowels in the same block (U+0258, U+025B, U+025C, ...) all map to "e". "@" is a glyph substitution rather than a transliteration, so this changes the single data entry in unidecode/x002.py and adds a regression test.

Note: U+025A (ɚ, r-colored schwa) has the same "@" mapping; the issue only asked about U+0259 so I left it untouched — happy to change it too if you'd like.

Full test suite passes locally (Python 3.11): 69 passed.

The surrounding schwa-family vowels in the same block (U+0258, U+025B-C) all map to "e"; U+0259 alone mapped to "@", a glyph substitution rather than a transliteration. Change the single data entry and add a regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ə -> to e, instead of @

1 participant