summaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-04-20 15:57:34 +0200
committerGitHub <noreply@github.com>2024-04-20 13:57:34 +0000
commit94c0b943e84504629109d4852f4a080c6b0e569e (patch)
tree6629d07843ecc4efc8c003f760e5a1f54ab791ae /ext/js
parentd34feb333846e3167b57c4125658603fe7a4f3a9 (diff)
start using german deinflections (#848)24.4.20.0
* use german transforms * fix test
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/language/language-descriptors.js6
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',