OOPS big error inflecting subject nouns
This commit is contained in:
parent
02a78b6fcf
commit
3cf19acbf7
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "3.8.5",
|
||||
"version": "3.8.6",
|
||||
"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",
|
||||
|
|
|
@ -48,7 +48,7 @@ export function renderNPSelection(NP: T.NPSelection, inflected: boolean, inflect
|
|||
|
||||
export function renderNounSelection(n: T.NounSelection, inflected: boolean, role: "servant" | "king" | "none", noArticles?: true | "noArticles", isPuSandwich?: boolean): T.Rendered<T.NounSelection> {
|
||||
const english = getEnglishFromNoun(n.entry, n.number, noArticles);
|
||||
const nounInflects = !(isPuSandwich && isPattern1Entry(n.entry) && n.number === "singular")
|
||||
const nounInflects = inflected && !(isPuSandwich && isPattern1Entry(n.entry) && n.number === "singular");
|
||||
const pashto = ((): T.PsString[] => {
|
||||
const infs = inflectWord(n.entry);
|
||||
const ps = n.number === "singular"
|
||||
|
|
|
@ -53,7 +53,6 @@ export function renderVP(VP: T.VPSelectionComplete): T.VPRendered {
|
|||
}
|
||||
const subjectPerson = getPersonFromNP(subject);
|
||||
const objectPerson = getPersonFromNP(object);
|
||||
// TODO: also don't inflect if it's a pattern one animate noun
|
||||
const inflectSubject = isPast && isTransitive && !isMascSingAnimatePattern4(subject);
|
||||
const inflectObject = !isPast && isFirstOrSecondPersPronoun(object);
|
||||
// Render Elements
|
||||
|
|
Loading…
Reference in New Issue