prevent l being treated as a compound for non compound verbs
This commit is contained in:
parent
e0e072491f
commit
b6b742c905
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"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",
|
||||||
|
|
|
@ -69,7 +69,7 @@ export function getVerbInfo(
|
||||||
complmnt?: T.DictionaryEntry,
|
complmnt?: T.DictionaryEntry,
|
||||||
): T.VerbInfo {
|
): T.VerbInfo {
|
||||||
const entry = removeFVarients(ent);
|
const entry = removeFVarients(ent);
|
||||||
const complement = complmnt ? removeFVarients(complmnt) : undefined;
|
const complement = (complmnt && ent.c?.includes("comp.")) ? removeFVarients(complmnt) : undefined;
|
||||||
const type = getType(entry);
|
const type = getType(entry);
|
||||||
if (type === "transitive or grammatically transitive simple") {
|
if (type === "transitive or grammatically transitive simple") {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue