oops
This commit is contained in:
parent
4062cedd48
commit
5c599c335f
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "3.0.9",
|
||||
"version": "3.1.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",
|
||||
|
|
|
@ -20,15 +20,15 @@ const labels = (role: "subject" | "object" | "ergative" | "possesor") => ({
|
|||
// ],
|
||||
e: role === "object" ? [
|
||||
["me", "us"],
|
||||
["you", "y'all"],
|
||||
["you", "you (pl.)"],
|
||||
[{ masc: "him/it", fem: "her/it"}, "them"],
|
||||
] : role === "possesor" ? [
|
||||
["my", "our"],
|
||||
["your", "y'all's"],
|
||||
["your", "your (pl.)"],
|
||||
[{ masc: "his/its", fem: "her/its"}, "their"],
|
||||
] : [
|
||||
["I", "We"],
|
||||
["You", "Y'all"],
|
||||
["You", "You (pl.)"],
|
||||
[{ masc: "He/It", fem: "She/It"}, "They"],
|
||||
],
|
||||
p: role === "subject" ? {
|
||||
|
|
|
@ -8,18 +8,15 @@ export function renderSandwich(s: T.SandwichSelection<T.Sandwich>): T.Rendered<T
|
|||
: (s.inside.selection.type === "noun" && isPattern5Entry(s.inside.selection.entry) && isAnimNounEntry(s.inside.selection.entry))
|
||||
? false
|
||||
: true;
|
||||
const inside = renderNPSelection(
|
||||
s.inside,
|
||||
true,
|
||||
inflectInside,
|
||||
"subject",
|
||||
"none",
|
||||
);
|
||||
const e = `${s.e} ${inside.selection.e}`;
|
||||
return {
|
||||
...s,
|
||||
e,
|
||||
inside,
|
||||
inside: renderNPSelection(
|
||||
s.inside,
|
||||
true,
|
||||
inflectInside,
|
||||
"subject",
|
||||
"none",
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue