From 5dd575faaf7a86f1afe72876e411ee8411d0b507 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:50:23 -0500 Subject: [PATCH] up --- package.json | 2 +- src/lib/phrase-building/english-vp-rendering.ts | 2 +- src/lib/type-predicates.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c1a1ad5..08837d7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/lib/phrase-building/english-vp-rendering.ts b/src/lib/phrase-building/english-vp-rendering.ts index 0ee1863..860b639 100644 --- a/src/lib/phrase-building/english-vp-rendering.ts +++ b/src/lib/phrase-building/english-vp-rendering.ts @@ -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]}`, diff --git a/src/lib/type-predicates.ts b/src/lib/type-predicates.ts index 8b294ea..d599005 100644 --- a/src/lib/type-predicates.ts +++ b/src/lib/type-predicates.ts @@ -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 {