aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/de
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language/de')
-rw-r--r--ext/js/language/de/german-text-preprocessors.js2
-rw-r--r--ext/js/language/de/german-transforms.js34
2 files changed, 18 insertions, 18 deletions
diff --git a/ext/js/language/de/german-text-preprocessors.js b/ext/js/language/de/german-text-preprocessors.js
index e829bf81..7f30ddac 100644
--- a/ext/js/language/de/german-text-preprocessors.js
+++ b/ext/js/language/de/german-text-preprocessors.js
@@ -30,5 +30,5 @@ export const eszettPreprocessor = {
case 'inverse':
return str.replace(/SS/g, 'ẞ').replace(/ss/g, 'ß');
}
- }
+ },
};
diff --git a/ext/js/language/de/german-transforms.js b/ext/js/language/de/german-transforms.js
index d05ca874..27b13c6a 100644
--- a/ext/js/language/de/german-transforms.js
+++ b/ext/js/language/de/german-transforms.js
@@ -36,7 +36,7 @@ function separatedPrefix(prefix, conditionsIn, conditionsOut) {
return term.replace(regex, '$1 ' + prefix);
},
conditionsIn,
- conditionsOut
+ conditionsOut,
};
}
@@ -53,16 +53,16 @@ export const germanTransforms = {
conditions: {
v: {
name: 'Verb',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n: {
name: 'Noun',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adj: {
name: 'Adjective',
- isDictionaryForm: true
- }
+ isDictionaryForm: true,
+ },
},
transforms: [
{
@@ -70,37 +70,37 @@ export const germanTransforms = {
description: 'Noun formed from a verb',
rules: [
suffixInflection('ung', 'en', [], []),
- suffixInflection('lung', 'eln', [], [])
- ]
+ suffixInflection('lung', 'eln', [], []),
+ ],
},
{
name: '-bar',
description: '-able adjective from a verb',
rules: [
suffixInflection('bar', 'en', [], ['v']),
- suffixInflection('bar', 'n', [], ['v']) // Lieferbar
- ]
+ suffixInflection('bar', 'n', [], ['v']), // Lieferbar
+ ],
},
{
name: 'negative',
description: 'Negation',
rules: [
- prefixInflection('un', '', [], ['adj'])
- ]
+ prefixInflection('un', '', [], ['adj']),
+ ],
},
{
name: 'separated prefix',
description: 'Separable prefix',
rules: [
- ...separatedPrefixInflections
- ]
+ ...separatedPrefixInflections,
+ ],
},
{
name: 'zu-infinitive',
description: 'zu-infinitive',
rules: [
- ...zuInfinitiveInflections
- ]
- }
- ]
+ ...zuInfinitiveInflections,
+ ],
+ },
+ ],
};