add was going to..

This commit is contained in:
lingdocs 2021-10-07 14:39:29 -04:00
parent a831587ed2
commit cc8e688ab7
4 changed files with 1968 additions and 1906 deletions

View File

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

View File

@ -216,10 +216,12 @@ const formsOfConjugation = (conj: T.VerbConjugation): T.DisplayFormItem[] => [
formula: "Imperfective Root + Past Ending", formula: "Imperfective Root + Past Ending",
sentence: true, sentence: true,
englishBuilder: (s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => ([ englishBuilder: (s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => ([
// - subj "was" (N && "not") v.2 obj // - subj pastEquative (N && "not") v.2 obj
`${engSubj(s)} ${engEquative("past", s)}${n ? " not" : ""} ${v[2]}`, `${engSubj(s)} ${engEquative("past", s)}${n ? " not" : ""} ${v[2]}`,
// - subj "would" (N && "not") v.0 obj // - subj "would" (N && "not") v.0 obj
`${engSubj(s)} would${n ? " not" : ""} ${isToBe(v) ? "be" : v[0]}`, `${engSubj(s)} would${n ? " not" : ""} ${isToBe(v) ? "be" : v[0]}`,
// - subj pastEquative (N && "not") going to" v.0 obj
`${engSubj(s)} ${engEquative("past", s)}${n ? " not" : ""} going to ${isToBe(v) ? "be" : v[0]}`,
]), ]),
explanation: "Saying something was happening, or would happen ('I was ____ing', 'I would ____')", explanation: "Saying something was happening, or would happen ('I was ____ing', 'I would ____')",
past: true, past: true,

View File

@ -108,9 +108,9 @@ export type DictionaryEntry = {
/** Is an exception to the rules of diacritics for Pashto/Phonetics */ /** Is an exception to the rules of diacritics for Pashto/Phonetics */
diacExcept?: boolean; diacExcept?: boolean;
/** the English conjugations of a verb comma seperated set of 5 ie. "see,sees,seeing,saw,seen" or single word ie. "walk" if regular */ /** the English conjugations of a verb comma seperated set of 5 ie. "see,sees,seeing,saw,seen" or single word ie. "walk" if regular - or the english singular version of a noun */
ec?: string; ec?: string;
/** the English partical of a English phrasal verb */ /** the English partical of a English phrasal verb - or the english irregular plural of a noun */
ep?: string; ep?: string;
} }

3864
yarn.lock

File diff suppressed because it is too large Load Diff