diff options
author | Matttttt <18152455+martholomew@users.noreply.github.com> | 2024-04-08 19:54:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 18:54:04 +0000 |
commit | 0663774b02faeb108d4b18d8f8a7e6e93e277313 (patch) | |
tree | 8b9cddef6a6987e273c58bca79959c20d943dcfb /types | |
parent | 2c5af215ee533a18b4da39bad6b696701dd07978 (diff) |
Simplify diacratic removal; modify Latin & Greek preprocessors (#724)
* Simplified diacratic removal and added preprocessors to LA and GRC
* linted
* Clarified the name of removeAlphabeticDiacritics
* Add comment to removeAlphabeticDiacritics
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Change to NFD
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Remove trailing spaces in comment
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Remove latin preprocessors .eslintrc.json
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* fix tests
---------
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
Diffstat (limited to 'types')
-rw-r--r-- | types/ext/language-descriptors.d.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts index dae586a2..41a1eec8 100644 --- a/types/ext/language-descriptors.d.ts +++ b/types/ext/language-descriptors.d.ts @@ -69,12 +69,14 @@ type AllTextPreprocessors = { removeArabicScriptDiacritics: TextPreprocessor<boolean>; }; fr: CapitalizationPreprocessors; - grc: CapitalizationPreprocessors; + grc: CapitalizationPreprocessors & { + removeAlphabeticDiacritics: TextPreprocessor<boolean>; + }; hu: CapitalizationPreprocessors; id: CapitalizationPreprocessors; it: CapitalizationPreprocessors; la: CapitalizationPreprocessors & { - removeLatinDiacritics: TextPreprocessor<boolean>; + removeAlphabeticDiacritics: TextPreprocessor<boolean>; }; ja: { convertHalfWidthCharacters: TextPreprocessor<boolean>; |