Skip to content

Commit

Permalink
touchup of inflection of inanimate fem. ending in ee
Browse files Browse the repository at this point in the history
  • Loading branch information
adueck committed Jun 13, 2024
1 parent 2d8fd52 commit b9cdc63
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/src/pashto-inflector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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ó" },
],
],
},
},
Expand Down
5 changes: 4 additions & 1 deletion src/lib/src/pashto-inflector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}ó` },
],
],
};
}
Expand Down

0 comments on commit b9cdc63

Please sign in to comment.