Skip to content

Commit

Permalink
fixed inflection of yeys
Browse files Browse the repository at this point in the history
  • Loading branch information
adueck committed Jun 13, 2024
1 parent 23f3dcd commit 2cb2e89
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 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.0.11",
"version": "7.0.12",
"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.0.11",
"version": "7.0.12",
"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.0.11",
"version": "7.0.12",
"description": "Pashto inflector library",
"main": "dist/index.js",
"types": "dist/lib/library.d.ts",
Expand Down
20 changes: 10 additions & 10 deletions src/lib/src/pashto-inflector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ const adjectives: {
[{ p: "وروستی", f: "wroostáy" }],
[{ p: "وروستي", f: "wroostée" }],
[
{ p: "وروستیو", f: "wroostíyo" },
{ p: "وروستیو", f: "wroostúyo" },
{ p: "وروستو", f: "wroostó" },
],
],
fem: [
[{ p: "وروستۍ", f: "wroostúy" }],
[{ p: "وروستۍ", f: "wroostúy" }],
[
{ p: "وروستیو", f: "wroostíyo" },
{ p: "وروستیو", f: "wroostúyo" },
{ p: "وروستو", f: "wroostó" },
],
],
Expand Down Expand Up @@ -453,15 +453,15 @@ const nouns: {
[{ p: "ترورزی", f: "trorzáy" }],
[{ p: "ترورزي", f: "trorzée" }],
[
{ p: "ترورزیو", f: "trorzíyo" },
{ p: "ترورزیو", f: "trorzúyo" },
{ p: "ترورزو", f: "trorzó" },
],
],
fem: [
[{ p: "ترورزۍ", f: "trorzúy" }],
[{ p: "ترورزۍ", f: "trorzúy" }],
[
{ p: "ترورزیو", f: "trorzíyo" },
{ p: "ترورزیو", f: "trorzúyo" },
{ p: "ترورزو", f: "trorzó" },
],
],
Expand Down Expand Up @@ -530,15 +530,15 @@ const nouns: {
[{ p: "پلوی", f: "palawáy" }],
[{ p: "پلوي", f: "palawée" }],
[
{ p: "پلویو", f: "palawíyo" },
{ p: "پلویو", f: "palawúyo" },
{ p: "پلوو", f: "palawó" },
],
],
fem: [
[{ p: "پلوۍ", f: "palawúy" }],
[{ p: "پلوۍ", f: "palawúy" }],
[
{ p: "پلویو", f: "palawíyo" },
{ p: "پلویو", f: "palawúyo" },
{ p: "پلوو", f: "palawó" },
],
],
Expand Down Expand Up @@ -573,7 +573,7 @@ const nouns: {
[{ p: "سړی", f: "saRáy" }],
[{ p: "سړي", f: "saRée" }],
[
{ p: "سړیو", f: "saRíyo" },
{ p: "سړیو", f: "saRúyo" },
{ p: "سړو", f: "saRó" },
],
],
Expand All @@ -598,7 +598,7 @@ const nouns: {
[{ p: "سیلانی", f: "saylaanáy" }],
[{ p: "سیلاني", f: "saylaanée" }],
[
{ p: "سیلانیو", f: "saylaaníyo" },
{ p: "سیلانیو", f: "saylaanúyo" },
{ p: "سیلانو", f: "saylaanó" },
],
],
Expand Down Expand Up @@ -628,7 +628,7 @@ const nouns: {
[{ p: "ترېلی", f: "treláy" }],
[{ p: "ترېلي", f: "trelée" }],
[
{ p: "ترېلیو", f: "trelíyo" },
{ p: "ترېلیو", f: "trelúyo" },
{ p: "ترېلو", f: "treló" },
],
],
Expand Down Expand Up @@ -1407,7 +1407,7 @@ const nouns: {
[{ p: "کرسۍ", f: "kUrsúy" }],
[{ p: "کرسۍ", f: "kUrsúy" }],
[
{ p: "کرسیو", f: "kUrsíyo" },
{ p: "کرسیو", f: "kUrsúyo" },
{ p: "کرسو", f: "kUrsó" },
],
],
Expand Down
8 changes: 4 additions & 4 deletions src/lib/src/pashto-inflector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,15 +294,15 @@ function inflectEmphasizedYayUnisex(p: string, f: string): T.UnisexInflections {
[{ p, f }],
[{ p: `${baseP}ي`, f: `${baseF}ée` }],
[
{ p: `${baseP}یو`, f: `${baseF}íyo` },
{ p: `${baseP}یو`, f: `${baseF}úyo` },
{ p: `${baseP}و`, f: `${baseF}ó` },
],
],
fem: [
[{ p: `${baseP}ۍ`, f: `${baseF}úy` }],
[{ p: `${baseP}ۍ`, f: `${baseF}úy` }],
[
{ p: `${baseP}یو`, f: `${baseF}íyo` },
{ p: `${baseP}یو`, f: `${baseF}úyo` },
{ p: `${baseP}و`, f: `${baseF}ó` },
],
],
Expand Down Expand Up @@ -363,7 +363,7 @@ function inflectRegularEmphasizedYayMasc(p: string, f: string): T.Inflections {
[{ p, f }],
[{ p: `${baseP}ي`, f: `${baseF}ée` }],
[
{ p: `${baseP}یو`, f: `${baseF}íyo` },
{ p: `${baseP}یو`, f: `${baseF}úyo` },
{ p: `${baseP}و`, f: `${baseF}ó` },
],
],
Expand Down Expand Up @@ -456,7 +456,7 @@ function inflectRegularUyFem(p: string, f: string): T.Inflections {
[{ p, f: `${baseF}úy` }],
[{ p, f: `${baseF}úy` }],
[
{ p: `${baseP}یو`, f: `${baseF}íyo` },
{ p: `${baseP}یو`, f: `${baseF}úyo` },
{ p: `${baseP}و`, f: `${baseF}ó` },
],
],
Expand Down

0 comments on commit 2cb2e89

Please sign in to comment.