This commit is contained in:
adueck 2023-07-27 17:07:59 +04:00
parent 5a7bcff263
commit 6128dfa1d3
9 changed files with 116 additions and 102 deletions

4
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "6.0.0", "version": "6.0.1",
"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",

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/ps-react", "name": "@lingdocs/ps-react",
"version": "6.0.0", "version": "6.0.1",
"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",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/inflect", "name": "@lingdocs/inflect",
"version": "6.0.0", "version": "6.0.1",
"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",

View File

@ -70,6 +70,20 @@ const toTest: Array<{
in: { p: string; f: string }; in: { p: string; f: string };
out: string | undefined; out: string | undefined;
}> = [ }> = [
{
in: {
p: "شئ",
f: "shey",
},
out: "شئ",
},
{
in: {
p: "کړئ",
f: "kRey",
},
out: "کْړئ",
},
{ {
in: { in: {
p: "کور", p: "کور",

1
test.http Normal file
View File

@ -0,0 +1 @@
GET https://account.lingdocs.com/dictionary HTTP/1.1

View File

@ -7,9 +7,8 @@
*/ */
module.exports = [ module.exports = [
{ ts: 1527822004, e: "last, final" }, // آخرینی - aakhireenéy
{ ts: 1591872915426, e: "Afghan (person)" }, // افغانی - afghaanéy { ts: 1591872915426, e: "Afghan (person)" }, // افغانی - afghaanéy
{ ts: 1612616237182, e: "Pakistani (person)"}, // پاکستانی - paakistaanéy { ts: 1612616237182, e: "Pakistani (person)" }, // پاکستانی - paakistaanéy
{ ts: 1527813400, e: "current" }, // اوسنی - oosanéy { ts: 1527813400, e: "current" }, // اوسنی - oosanéy
{ ts: 1527815661, e: "first" }, // اولنی - awwalunéy { ts: 1527815661, e: "first" }, // اولنی - awwalunéy
{ ts: 1527812476, e: "child" }, // بچی - bachéy { ts: 1527812476, e: "child" }, // بچی - bachéy

View File

@ -19,7 +19,7 @@ module.exports = [
{ ts: 1527822859, e: "dishevelled, messy, curly (with hair etc.)" }, // څپولی { ts: 1527822859, e: "dishevelled, messy, curly (with hair etc.)" }, // څپولی
{ ts: 1527811466, e: "researcher" }, // څېړونکی { ts: 1527811466, e: "researcher" }, // څېړونکی
{ ts: 1527812377, e: "obedient, submissive" }, // حکم منونکی { ts: 1527812377, e: "obedient, submissive" }, // حکم منونکی
{ ts: 1527817299, e: "amazing, surprising" }, // حیرانوونکی { ts: 1690458841825, e: "amazing, surprising" }, // حیرانوونکی
{ ts: 1527813282, e: "seller" }, // خرڅوونکی { ts: 1527813282, e: "seller" }, // خرڅوونکی
{ ts: 1527812809, e: "malnourished" }, // خوار ځواکی { ts: 1527812809, e: "malnourished" }, // خوار ځواکی
{ ts: 1591871233587, e: "well-spoken" }, // خوږژبی { ts: 1591871233587, e: "well-spoken" }, // خوږژبی