[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) {
|
getPronunciation(morpheme, counter = 0) {
|
||||||
|
if (morpheme.startsWith("'")) {
|
||||||
|
morpheme = morpheme.substring(1);
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.pronunciations[morpheme]) {
|
if (!this.pronunciations[morpheme]) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue