Overview
Phonetic Groups
Characters grouped by phonetic similarity (same sound category):Consonant Groups
Nasal Groups
Approximants and Liquids
Medials
Vowels
Tone
Visual Similarity
Characters that look similar and are commonly confused. Accessed viaVISUAL_SIMILAR dict. Most pairs are mapped bidirectionally.
Vowel and Medial Confusions
Consonant Confusions
Aspirated vs Unaspirated Pairs
Other Confusions
Tonal Groups
Characters that differ by tone, commonly confused in typing. Accessed viaTONAL_GROUPS dict.
Colloquial Substitutions
Multi-character substitutions found in colloquial/social media text. TheCOLLOQUIAL_SUBSTITUTIONS dict maps colloquial forms to their standard equivalents (25 entries total).
Particles
Verb Endings
Pronouns
Common Words
Adverbs and Reduplication
Contractions and Texting
Reverse Mapping: STANDARD_TO_COLLOQUIAL
TheSTANDARD_TO_COLLOQUIAL dictionary is the inverse of COLLOQUIAL_SUBSTITUTIONS. It maps each standard form back to its set of colloquial variants. This is built automatically at module load time.
Helper Functions
Usage Examples
PhoneticHasher Integration
Visual Confusion Detection
Tonal Variant Generation
Data Constants
Available constants and functions:Phoneme-Grapheme Notes
E vs AI Vowels
The module correctly distinguishes:ေ(U+1031) - E vowel, IPA /e/, prefix positionဲ(U+1032) - AI vowel, IPA /ɛ/, suffix position
Aspirated vs Voiced
Consonant groups contain both aspirated and voiced variants:ပ(unaspirated) vsဖ(aspirated) vsဗ(voiced)- These sound similar and are often confused
See Also
- Phonetic Hasher - Using phonetic data
- Homophones - Sound-alike detection
- Edit Distance - Edit distance with phonetic weighting