fixed inflection of yeys

This commit is contained in:
adueck 2024-06-13 11:10:12 -04:00
parent 23f3dcd2c5
commit 2cb2e892ae
7 changed files with 21 additions and 21 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "pashto-inflector",
"version": "7.0.11",
"version": "7.0.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pashto-inflector",
"version": "7.0.11",
"version": "7.0.12",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -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",

View File

@ -1,12 +1,12 @@
{
"name": "@lingdocs/ps-react",
"version": "7.0.11",
"version": "7.0.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@lingdocs/ps-react",
"version": "7.0.11",
"version": "7.0.12",
"license": "MIT",
"dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3",

View File

@ -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",

View File

@ -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",

View File

@ -94,7 +94,7 @@ const adjectives: {
[{ p: "وروستی", f: "wroostáy" }],
[{ p: "وروستي", f: "wroostée" }],
[
{ p: "وروستیو", f: "wroostíyo" },
{ p: "وروستیو", f: "wroostúyo" },
{ p: "وروستو", f: "wroostó" },
],
],
@ -102,7 +102,7 @@ const adjectives: {
[{ p: "وروستۍ", f: "wroostúy" }],
[{ p: "وروستۍ", f: "wroostúy" }],
[
{ p: "وروستیو", f: "wroostíyo" },
{ p: "وروستیو", f: "wroostúyo" },
{ p: "وروستو", f: "wroostó" },
],
],
@ -453,7 +453,7 @@ const nouns: {
[{ p: "ترورزی", f: "trorzáy" }],
[{ p: "ترورزي", f: "trorzée" }],
[
{ p: "ترورزیو", f: "trorzíyo" },
{ p: "ترورزیو", f: "trorzúyo" },
{ p: "ترورزو", f: "trorzó" },
],
],
@ -461,7 +461,7 @@ const nouns: {
[{ p: "ترورزۍ", f: "trorzúy" }],
[{ p: "ترورزۍ", f: "trorzúy" }],
[
{ p: "ترورزیو", f: "trorzíyo" },
{ p: "ترورزیو", f: "trorzúyo" },
{ p: "ترورزو", f: "trorzó" },
],
],
@ -530,7 +530,7 @@ const nouns: {
[{ p: "پلوی", f: "palawáy" }],
[{ p: "پلوي", f: "palawée" }],
[
{ p: "پلویو", f: "palawíyo" },
{ p: "پلویو", f: "palawúyo" },
{ p: "پلوو", f: "palawó" },
],
],
@ -538,7 +538,7 @@ const nouns: {
[{ p: "پلوۍ", f: "palawúy" }],
[{ p: "پلوۍ", f: "palawúy" }],
[
{ p: "پلویو", f: "palawíyo" },
{ p: "پلویو", f: "palawúyo" },
{ p: "پلوو", f: "palawó" },
],
],
@ -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ó" },
],
],
@ -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ó" },
],
],
@ -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ó" },
],
],
@ -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ó" },
],
],

View File

@ -294,7 +294,7 @@ 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}ó` },
],
],
@ -302,7 +302,7 @@ function inflectEmphasizedYayUnisex(p: string, f: string): T.UnisexInflections {
[{ p: `${baseP}ۍ`, f: `${baseF}úy` }],
[{ p: `${baseP}ۍ`, f: `${baseF}úy` }],
[
{ p: `${baseP}یو`, f: `${baseF}íyo` },
{ p: `${baseP}یو`, f: `${baseF}úyo` },
{ p: `${baseP}و`, f: `${baseF}ó` },
],
],
@ -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}ó` },
],
],
@ -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}ó` },
],
],