diff --git a/package.json b/package.json index a45244d..7ddff84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "2.1.0", + "version": "2.1.1", "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.ts b/src/lib/verb-info.ts index 4a4be4a..42a3d66 100644 --- a/src/lib/verb-info.ts +++ b/src/lib/verb-info.ts @@ -69,7 +69,7 @@ export function getVerbInfo( complmnt?: T.DictionaryEntry, ): T.VerbInfo { const entry = removeFVarients(ent); - const complement = complmnt ? removeFVarients(complmnt) : undefined; + const complement = (complmnt && ent.c?.includes("comp.")) ? removeFVarients(complmnt) : undefined; const type = getType(entry); if (type === "transitive or grammatically transitive simple") { return {