This commit is contained in:
lingdocs 2022-07-11 13:50:23 -05:00
parent 189ed32eca
commit 5dd575faaf
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -59,7 +59,7 @@ export function renderEnglishVPBase({ subjectPerson, object, vs }: {
]),
imperfectiveFuture: (s: T.Person, ec: T.EnglishVerbConjugationEc, n: boolean) => ([
`$SUBJ will${n ? " not" : ""} ${isToBe(ec) ? "be" : ec[0]}`,
`$SUBJ will${n ? " not" : ""} be ${isToBe(ec) ? "be" : ec[2]}`,
// `$SUBJ will${n ? " not" : ""} be ${isToBe(ec) ? "be" : ec[2]}`, \\ doesn't seem fully correct
]),
perfectiveFuture: (s: T.Person, ec: T.EnglishVerbConjugationEc, n: boolean) => ([
`$SUBJ will${n ? " not" : ""} ${isToBe(ec) ? "be" : ec[0]}`,

View File

@ -11,7 +11,7 @@ export function isNounEntry(e: T.Entry | T.DictionaryEntry): e is T.NounEntry {
export function isAdjectiveEntry(e: T.Entry | T.DictionaryEntry): e is T.AdjectiveEntry {
if ("entry" in e) return false;
return !!e.c?.includes("adj.") && !isNounEntry(e);
return !!e.c?.includes("adj.");
}
export function isAdverbEntry(e: T.Entry | T.DictionaryEntry): e is T.AdverbEntry {