diff --git a/ext/js/language/yi/yiddish-transforms.js b/ext/js/language/yi/yiddish-transforms.js index 8eaa1a35d..70f2b7136 100644 --- a/ext/js/language/yi/yiddish-transforms.js +++ b/ext/js/language/yi/yiddish-transforms.js @@ -106,6 +106,12 @@ export const yiddishTransforms = { suffixInflection('\u05E2\u05DF', '', ['np'], ['ns']), // -en suffixInflection('\u05E2\u05E1', '', ['np'], ['ns']), // -es suffixInflection('\u05D5\u05EA', '', ['np'], ['ns']), // -ot, hebrew + suffixInflection('\u05E0\u05E1', '', ['np'], ['ns']), // -ns + suffixInflection('\u05E2\u05E8\u05E2\u05DF', '', ['np'], ['ns']), // -eren + suffixInflection('\u05E2\u05E0\u05E2\u05E1', '', ['np'], ['ns']), // -enes + suffixInflection('\u05E2\u05E0\u05E1', '', ['np'], ['ns']), // -ens + suffixInflection('\u05E2\u05E8\u05E1', '', ['np'], ['ns']), // -ers + suffixInflection('\u05E1\u05E2\u05E8', '', ['np'], ['ns']), // -ser ], }, umlaut_plural: { @@ -117,6 +123,9 @@ export const yiddishTransforms = { ...umlautMutationSuffixInflection('\u05D9\u05DD', '', ['np'], ['ns']), // -im ...umlautMutationSuffixInflection('\u05E2\u05DF', '', ['np'], ['ns']), // -en ...umlautMutationSuffixInflection('\u05DF', '', ['np'], ['ns']), // -n + ...umlautMutationSuffixInflection('\u05E1', '', ['np'], ['ns']), // -s + ...umlautMutationSuffixInflection('\u05E2\u05DA', '', ['np'], ['ns']), // -ekh + ...umlautMutationSuffixInflection('\u05E2\u05E8\u05E1', '', ['np'], ['ns']), // -ers ], }, diminutive: { diff --git a/test/language/yiddish-transforms.test.js b/test/language/yiddish-transforms.test.js index 5aad6afa3..f2372d60d 100644 --- a/test/language/yiddish-transforms.test.js +++ b/test/language/yiddish-transforms.test.js @@ -38,6 +38,12 @@ const tests = [ {term: 'עטיקעט', source: 'עטיקעטקע', rule: 'n', reasons: ['diminutive']}, // etiketke -> etiket {term: 'קליענטעל', source: 'קליענטעלטשיק', rule: 'n', reasons: ['diminutive']}, // klienteltshik -> klientel {term: 'קינדער', source: 'קינדערלעך', rule: 'ns', reasons: ['diminutive', 'plural']}, // kinderlekh -> kinder + {term: 'ליפ', source: 'ליפענעס', rule: 'ns', reasons: ['plural']}, // lipenes -> lip + {term: 'אײ', source: 'אײערען', rule: 'ns', reasons: ['plural']}, // eyeren -> ey + {term: 'זאָק', source: 'זאָקענס', rule: 'ns', reasons: ['plural']}, // zokens -> zok + {term: 'בוך', source: 'בוךערס', rule: 'ns', reasons: ['plural']}, // bukhers -> bukh + {term: 'קוכן', source: 'קוכןסער', rule: 'ns', reasons: ['plural']}, // kukhnser -> kukh + {term: 'קעניג', source: 'קעניגנס', rule: 'ns', reasons: ['plural']}, // kenigns -> kenig ], }, { @@ -52,6 +58,10 @@ const tests = [ {term: 'אומשטאנד', source: 'אומשטענדן', rule: 'ns', reasons: ['umlaut_plural']}, // umshtendn -> umshtand {term: 'קאצ', source: 'קעצעלע', rule: 'n', reasons: ['diminutive_and_umlaut']}, // ketzele -> katz {term: 'קאצ', source: 'קעצל', rule: 'n', reasons: ['diminutive_and_umlaut']}, // ketzl -> katz + {term: 'באַרג', source: 'בערגן', rule: 'ns', reasons: ['umlaut_plural']}, // bergn -> barg + {term: 'בױמ', source: 'בײמערס', rule: 'ns', reasons: ['umlaut_plural']}, // beymers -> boim + {term: 'קאפּ', source: 'קעפּער', rule: 'ns', reasons: ['umlaut_plural']}, // keper -> kop + {term: 'קאפּ', source: 'קעפּער', rule: 'ns', reasons: ['umlaut_plural']}, // kep -> kop ], }, {