mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[pronunciation] fix pronunciation of capitalised words
This commit is contained in:
parent
bb87d1140b
commit
199ecfbd63
@ -352,6 +352,10 @@ export class Pronoun {
|
||||
}
|
||||
|
||||
getPronunciation(morpheme, counter = 0) {
|
||||
if (morpheme.startsWith("'")) {
|
||||
morpheme = morpheme.substring(1);
|
||||
}
|
||||
|
||||
if (!this.pronunciations[morpheme]) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user