diff --git a/package.json b/package.json index b56f6de..5c9f112 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.7.9", + "version": "0.8.0", "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", diff --git a/src/lib/verb-info.test.ts b/src/lib/verb-info.test.ts index 483db7d..044279d 100644 --- a/src/lib/verb-info.test.ts +++ b/src/lib/verb-info.test.ts @@ -1218,6 +1218,10 @@ const toTest = [ f: "kawóonkey", }, }, + idiosyncraticThirdMascSing: { + perfective: { p: "وکړ", f: "óokuR" }, + imperfective: { p: "کاوه", f: "kaawú" }, + }, }, }, { @@ -1254,6 +1258,10 @@ const toTest = [ f: "kawóonkey", }, }, + idiosyncraticThirdMascSing: { + perfective: { p: "کړ", f: "kuR" }, + imperfective: { p: "کاوه", f: "kaawú" }, + }, }, }, { diff --git a/src/lib/verb-info.ts b/src/lib/verb-info.ts index d15836a..51e2e83 100644 --- a/src/lib/verb-info.ts +++ b/src/lib/verb-info.ts @@ -432,6 +432,20 @@ function getIdiosyncraticThirdMascSing(entry: T.DictionaryEntry): T.ShortThirdPe 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; }