fix oona endings on animat squish nouns like ghul
This commit is contained in:
parent
a303bf6032
commit
6d3467147d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
|
|
@ -543,7 +543,7 @@ const nouns: Array<{
|
|||
},
|
||||
},
|
||||
},
|
||||
// should also do the oona plural with the squish nouns, even if it's animate
|
||||
// should NOT do the oona plural with the squish nouns, when they're animate
|
||||
{
|
||||
in: {"i":5465,"ts":1527812802,"p":"خر","f":"khur","g":"khur","e":"donkey","c":"n. m. unisex irreg.","infap":"خره","infaf":"khru","infbp":"خر","infbf":"khr"},
|
||||
out: {
|
||||
|
@ -559,12 +559,6 @@ const nouns: Array<{
|
|||
[{ p: "خرو", f: "khro" }],
|
||||
],
|
||||
},
|
||||
plural: {
|
||||
masc: [
|
||||
[{ p: "خرونه", f: "khróona" }],
|
||||
[{ p: "خرونو", f: "khróono" }],
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
// masc plural
|
||||
|
|
|
@ -499,7 +499,7 @@ function makePlural(w: T.DictionaryEntryNoFVars): { plural: T.PluralInflections
|
|||
if (endsInConsonant(w) && (!w.infap)) {
|
||||
return { arabicPlural, plural: addAnimUnisexPluralSuffix() };
|
||||
}
|
||||
if (shortSquish) {
|
||||
if (shortSquish && anim) {
|
||||
return { arabicPlural, plural: { masc: addMascPluralSuffix(anim, shortSquish) }};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue