1
0
Fork 0

Farsi language

This commit is contained in:
sspanak 2025-02-12 17:53:14 +02:00 committed by Dimo Karaivanov
parent ffae563b95
commit 2098b1a994
9 changed files with 562357 additions and 2 deletions

View file

@ -263,6 +263,11 @@ static def extractAlphabetExtraCharsFromLine(String languageName, String line) {
.replace(',', '')
.replace(' ', '')
// add Zero-width non-joiner for some languages
if (line.contains("PUNCTUATION_FA") || line.contains("PUNCTUATION_IN")) {
allChars += '\u200C'
}
return DEFAULT + allChars
}