[pronunciation] fix pronunciation of capitalised words
This commit is contained in:
parent
ee02c1df36
commit
1fbf398ce2
|
@ -352,6 +352,10 @@ export class Pronoun {
|
|||
}
|
||||
|
||||
getPronunciation(morpheme, counter = 0) {
|
||||
if (morpheme.startsWith("'")) {
|
||||
morpheme = morpheme.substring(1);
|
||||
}
|
||||
|
||||
if (!this.pronunciations[morpheme]) {
|
||||
return null;
|
||||
}
|
||||
|
|
Reference in New Issue