diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/js/language/language-descriptors.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index 2bdc7c7c..c5c3e01e 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -17,13 +17,14 @@ import {removeArabicScriptDiacritics} from './ar/arabic-text-preprocessors.js'; import {eszettPreprocessor} from './de/german-text-preprocessors.js'; +import {germanTransforms} from './de/german-transforms.js'; import {englishTransforms} from './en/english-transforms.js'; import {collapseEmphaticSequences, convertAlphabeticCharacters, convertHalfWidthCharacters, convertHiraganaToKatakana, convertNumericCharacters} from './ja/japanese-text-preprocessors.js'; import {japaneseTransforms} from './ja/japanese-transforms.js'; import {isStringPartiallyJapanese} from './ja/japanese.js'; import {removeRussianDiacritics, yoToE} from './ru/russian-text-preprocessors.js'; -import {albanianTransforms} from './sq/albanian-transforms.js'; import {oldIrishTransforms} from './sga/old-irish-transforms.js'; +import {albanianTransforms} from './sq/albanian-transforms.js'; import {capitalizeFirstLetter, decapitalize, removeAlphabeticDiacritics} from './text-preprocessors.js'; const capitalizationPreprocessors = { @@ -48,7 +49,8 @@ const languageDescriptors = [ textPreprocessors: { ...capitalizationPreprocessors, eszettPreprocessor - } + }, + languageTransforms: germanTransforms }, { iso: 'el', |