Skip to content

Commit 7bfd2f1

Browse files
committed
fix phoneme matching so th is now pronounced properly
1 parent b09c5b6 commit 7bfd2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# Pronunciation of characters.
4545
r"|<say-as interpret-as='characters'>(?P<char>[^<]+)</say-as> ?"
4646
# Specific pronunciation.
47-
r"|<phoneme alphabet='ipa' ph='(?P<ipa>[^']+)'> (?P<phonemeText>[^ <]+)</phoneme> ?"
47+
r"|<phoneme alphabet='ipa' ph='(?P<ipa>[^']+)'>(?P<phonemeText>[^ <]+)</phoneme> ?"
4848
# Prosody.
4949
r"|<prosody(?: pitch='(?P<pitch>\d+)%')?(?: volume='(?P<volume>\d+)%')?(?: rate='(?P<rate>\d+)%')?> ?"
5050
r"|(?P<prosodyReset></prosody>) ?"

0 commit comments

Comments
 (0)