better pastSubjunctive english
This commit is contained in:
parent
71b13463cd
commit
86f99f58ad
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "3.4.2",
|
||||
"version": "3.4.3",
|
||||
"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",
|
||||
|
|
|
@ -141,10 +141,13 @@ export function renderEnglishVPBase({ subjectPerson, object, vs }: {
|
|||
]),
|
||||
wouldBePerfect: (s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => ([
|
||||
`$SUBJ would${n ? " not" : ""} have ${v[4]}`,
|
||||
`$SUBJ had probably ${n ? " not" : ""} ${v[4]}`,
|
||||
]),
|
||||
pastSubjunctivePerfect: (s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => ([
|
||||
`$SUBJ would${n ? " not" : ""} have ${v[4]}`,
|
||||
`$SUBJ should${n ? " not" : ""} have ${v[4]}`,
|
||||
`$SUBJ ${n ? "didn't have" : "had"} to ${v[0]}`,
|
||||
`$SUBJ had${n ? " not" : ""} to have ${v[4]}`,
|
||||
`$SUBJ would${n ? " not" : ""} have ${v[4]}`,
|
||||
]),
|
||||
wouldHaveBeenPerfect: (s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => ([
|
||||
`$SUBJ would${n ? " not" : ""} have ${v[4]}`,
|
||||
|
|
|
@ -188,18 +188,19 @@ const equativeBuilders: Record<T.EquativeTense, (p: T.Person, n: boolean) => str
|
|||
`$SUBJ ${getEnglishConj(p, g.englishEquative.past)} probably${not(n)} $PRED`,
|
||||
];
|
||||
},
|
||||
pastSubjunctive: () => {
|
||||
pastSubjunctive: (p, n) => {
|
||||
return [
|
||||
`$SUBJ should have been $PRED`,
|
||||
`(that) $SUBJ were $PRED`,
|
||||
`$SUBJ should ${n ? "not " : ""}have been $PRED`,
|
||||
`$SUBJ had to ${n ? "not " : ""}be $PRED`,
|
||||
`(that) $SUBJ were ${n ? "not " : ""}$PRED`,
|
||||
];
|
||||
},
|
||||
wouldHaveBeen: () => {
|
||||
wouldHaveBeen: (p, n) => {
|
||||
return [
|
||||
`$SUBJ would have been $PRED`,
|
||||
`$SUBJ would ${n ? "not " : ""}have been $PRED`,
|
||||
];
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
function isThirdPersonSing(p: T.Person): boolean {
|
||||
return p === T.Person.ThirdSingMale || p === T.Person.ThirdPlurFemale;
|
||||
|
|
Loading…
Reference in New Issue