fix darkawul warkawul etc

This commit is contained in:
lingdocs 2022-07-05 19:17:33 -05:00
parent 216408f035
commit 019df3ef28
3 changed files with 1389 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/pashto-inflector",
"version": "3.2.6",
"version": "3.2.7",
"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",

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,7 @@ import {
inflectWord,
} from "./pashto-inflector";
import {
checkForIrregularConjugation,
stativeAux,
} from "./irregular-conjugations";
import {
@ -70,6 +71,10 @@ export function getVerbInfo(
complmnt?: T.DictionaryEntry,
): T.VerbInfo {
const entry = removeFVarients(ent);
const irregularConj = checkForIrregularConjugation(entry);
if (irregularConj) {
return irregularConj.info;
}
const complement = (complmnt && ent.c?.includes("comp.")) ? removeFVarients(complmnt) : undefined;
const type = getType(entry);
if (type === "transitive or grammatically transitive simple") {