fixed but with space before adjectives etc
This commit is contained in:
parent
8b95d8039c
commit
e2e1cb6600
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.5",
|
"version": "5.3.6",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.5",
|
"version": "5.3.6",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.5",
|
"version": "5.3.6",
|
||||||
"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",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "5.3.5",
|
"version": "5.3.6",
|
||||||
"description": "Pashto inflector library module with React components",
|
"description": "Pashto inflector library module with React components",
|
||||||
"main": "dist/components/library.js",
|
"main": "dist/components/library.js",
|
||||||
"module": "dist/components/library.js",
|
"module": "dist/components/library.js",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/inflect",
|
"name": "@lingdocs/inflect",
|
||||||
"version": "5.3.5",
|
"version": "5.3.6",
|
||||||
"description": "Pashto inflector library",
|
"description": "Pashto inflector library",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/lib/library.d.ts",
|
"types": "dist/lib/library.d.ts",
|
||||||
|
|
|
@ -104,11 +104,9 @@ export function getPashtoFromRendered(b: T.Rendered<T.NPSelection> | T.Rendered<
|
||||||
},
|
},
|
||||||
} : trimOffShrunkenPossesive({ type: "NP", selection: b.selection });
|
} : trimOffShrunkenPossesive({ type: "NP", selection: b.selection });
|
||||||
if (trimmed.selection.type === "sandwich") {
|
if (trimmed.selection.type === "sandwich") {
|
||||||
const c = trimmed.selection.inside.selection.possesor
|
return trimmed.selection.inside.selection.possesor
|
||||||
? addPossesor(trimmed.selection.inside.selection.possesor.np, base, subjectsPerson)
|
? addPossesor(trimmed.selection.inside.selection.possesor.np, base, subjectsPerson)
|
||||||
: base;
|
: base;
|
||||||
console.log({ c });
|
|
||||||
return c;
|
|
||||||
}
|
}
|
||||||
if (trimmed.selection.possesor) {
|
if (trimmed.selection.possesor) {
|
||||||
return addPossesor(trimmed.selection.possesor.np, base, subjectsPerson);
|
return addPossesor(trimmed.selection.possesor.np, base, subjectsPerson);
|
||||||
|
|
Loading…
Reference in New Issue