Clarify docstring
Browse files
kemetone/normalize_tashkeel.py
CHANGED
|
@@ -9,8 +9,8 @@ in real text. espeak-ng only honours the canonical one:
|
|
| 9 |
consonant + harakat + shadda -> الشَّمْس ʔaʃʃms (vowel SILENTLY dropped)
|
| 10 |
|
| 11 |
The wrong order does not error, it just deletes a vowel from the phoneme
|
| 12 |
-
string
|
| 13 |
-
|
| 14 |
"""
|
| 15 |
|
| 16 |
import re
|
|
|
|
| 9 |
consonant + harakat + shadda -> الشَّمْس ʔaʃʃms (vowel SILENTLY dropped)
|
| 10 |
|
| 11 |
The wrong order does not error, it just deletes a vowel from the phoneme
|
| 12 |
+
string — a silent pronunciation defect that no symbol-map assertion would
|
| 13 |
+
catch. So normalize before phonemizing.
|
| 14 |
"""
|
| 15 |
|
| 16 |
import re
|