fixed verb info for kawul verbs

This commit is contained in:
lingdocs 2021-07-16 01:58:38 +03:00
parent 0c2534e8cb
commit 198bae9f07
3 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.7.9", "version": "0.8.0",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",

View File

@ -1218,6 +1218,10 @@ const toTest = [
f: "kawóonkey", f: "kawóonkey",
}, },
}, },
idiosyncraticThirdMascSing: {
perfective: { p: "وکړ", f: "óokuR" },
imperfective: { p: "کاوه", f: "kaawú" },
},
}, },
}, },
{ {
@ -1254,6 +1258,10 @@ const toTest = [
f: "kawóonkey", f: "kawóonkey",
}, },
}, },
idiosyncraticThirdMascSing: {
perfective: { p: "کړ", f: "kuR" },
imperfective: { p: "کاوه", f: "kaawú" },
},
}, },
}, },
{ {

View File

@ -432,6 +432,20 @@ function getIdiosyncraticThirdMascSing(entry: T.DictionaryEntry): T.ShortThirdPe
perfective: ooRes.ps as T.PsString, perfective: ooRes.ps as T.PsString,
}; };
} }
if (entry.p === "کول") {
if (entry.e.includes("to make")) {
return {
perfective: { p: "کړ", f: "kuR" },
imperfective: { p: "کاوه", f: "kaawú" },
};
}
if (entry.e.includes("to do")) {
return {
perfective: { p: "وکړ", f: "óokuR" },
imperfective: { p: "کاوه", f: "kaawú" },
};
}
}
return false; return false;
} }