From b9cdc632581fa4b0979e67e7923a59fad3bdf8a9 Mon Sep 17 00:00:00 2001 From: adueck Date: Thu, 13 Jun 2024 15:03:42 -0400 Subject: [PATCH] touchup of inflection of inanimate fem. ending in ee --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package-lock.json | 4 ++-- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/lib/src/pashto-inflector.test.ts | 5 ++++- src/lib/src/pashto-inflector.ts | 5 ++++- 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index b4567d1..7049db3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "7.1.2", + "version": "7.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "7.1.2", + "version": "7.1.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 8df02aa..5fd3601 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "7.1.2", + "version": "7.1.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", diff --git a/src/components/package-lock.json b/src/components/package-lock.json index ac1ed98..d012a45 100644 --- a/src/components/package-lock.json +++ b/src/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lingdocs/ps-react", - "version": "7.1.2", + "version": "7.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lingdocs/ps-react", - "version": "7.1.2", + "version": "7.1.3", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^1.0.0-beta.3", diff --git a/src/components/package.json b/src/components/package.json index 47356eb..c747962 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "7.1.2", + "version": "7.1.3", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/package.json b/src/lib/package.json index ec5856f..f387f96 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "7.1.2", + "version": "7.1.3", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/lib/src/pashto-inflector.test.ts b/src/lib/src/pashto-inflector.test.ts index 3505acb..38a3793 100644 --- a/src/lib/src/pashto-inflector.test.ts +++ b/src/lib/src/pashto-inflector.test.ts @@ -1385,7 +1385,10 @@ const nouns: { fem: [ [{ p: "دوستي", f: "dostee" }], [{ p: "دوستۍ", f: "dostúy" }], - [{ p: "دوستیو", f: "dostúyo" }], + [ + { p: "دوستیو", f: "dostúyo" }, + { p: "دوستو", f: "dostó" }, + ], ], }, }, diff --git a/src/lib/src/pashto-inflector.ts b/src/lib/src/pashto-inflector.ts index ccaff32..abc0dfe 100644 --- a/src/lib/src/pashto-inflector.ts +++ b/src/lib/src/pashto-inflector.ts @@ -443,7 +443,10 @@ function inflectRegularInanEeFem(p: string, f: string): T.Inflections { fem: [ [{ p, f }], [{ p: `${baseP}ۍ`, f: `${baseF}úy` }], - [{ p: `${baseP}یو`, f: `${baseF}úyo` }], + [ + { p: `${baseP}یو`, f: `${baseF}úyo` }, + { p: `${baseP}و`, f: `${baseF}ó` }, + ], ], }; }