plural from for words like قاضۍ
This commit is contained in:
parent
bec76a9299
commit
635a2cd805
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"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,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@formkit/auto-animate": "^1.0.0-beta.3",
|
"@formkit/auto-animate": "^1.0.0-beta.3",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "7.1.6",
|
"version": "7.1.7",
|
||||||
"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": "7.1.6",
|
"version": "7.1.7",
|
||||||
"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",
|
||||||
|
|
|
@ -1434,6 +1434,36 @@ const nouns: {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
in: {
|
||||||
|
ts: 1527823526,
|
||||||
|
i: 12229,
|
||||||
|
p: "قاضۍ",
|
||||||
|
f: "qaazúy",
|
||||||
|
g: "kaazuy",
|
||||||
|
e: "female judge",
|
||||||
|
r: 4,
|
||||||
|
c: "n. f. anim.",
|
||||||
|
},
|
||||||
|
out: {
|
||||||
|
inflections: {
|
||||||
|
fem: [
|
||||||
|
[{ p: "قاضۍ", f: "qaazúy" }],
|
||||||
|
[{ p: "قاضۍ", f: "qaazúy" }],
|
||||||
|
[
|
||||||
|
{ p: "قاضیو", f: "qaazúyo" },
|
||||||
|
{ p: "قاضو", f: "qaazó" },
|
||||||
|
],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
plural: {
|
||||||
|
fem: [
|
||||||
|
[{ p: "قاضیانې", f: "qaaziyáane" }],
|
||||||
|
[{ p: "قاضیانو", f: "qaaziyáano" }],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
// Feminine regular ending in ا
|
// Feminine regular ending in ا
|
||||||
{
|
{
|
||||||
in: {
|
in: {
|
||||||
|
|
|
@ -752,7 +752,10 @@ function makePlural(
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (type === "fem noun" && endsWith({ p: "ي" }, w)) {
|
if (
|
||||||
|
type === "fem noun" &&
|
||||||
|
(endsWith({ p: "ي" }, w) || (endsWith({ p: "ۍ" }, w) && anim))
|
||||||
|
) {
|
||||||
return {
|
return {
|
||||||
arabicPlural,
|
arabicPlural,
|
||||||
plural: {
|
plural: {
|
||||||
|
|
Loading…
Reference in New Issue