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",
"version": "6.0.0",
"version": "6.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pashto-inflector",
"version": "6.0.0",
"version": "6.0.1",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "pashto-inflector",
"version": "6.0.0",
"version": "6.0.1",
"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": "6.0.0",
"version": "6.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@lingdocs/ps-react",
"version": "6.0.0",
"version": "6.0.1",
"license": "MIT",
"dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3",

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/ps-react",
"version": "6.0.0",
"version": "6.0.1",
"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": "6.0.0",
"version": "6.0.1",
"description": "Pashto inflector library",
"main": "dist/index.js",
"types": "dist/lib/library.d.ts",

View File

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

1
test.http Normal file
View File

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

View File

@ -7,44 +7,43 @@
*/
module.exports = [
{ ts: 1527822004, e: "last, final" }, // آخرینی - aakhireenéy
{ ts: 1591872915426, e: "Afghan (person)" }, // افغانی - afghaanéy
{ ts: 1612616237182, e: "Pakistani (person)"}, // پاکستانی - paakistaanéy
{ ts: 1527813400, e: "current" }, // اوسنی - oosanéy
{ ts: 1527815661, e: "first" }, // اولنی - awwalunéy
{ ts: 1527812476, e: "child" }, // بچی - bachéy
{ ts: 1527816646, e: "foreigner, outer" }, // بهرنی - baharanéy, bahranéy
{ ts: 1527818769, e: "emergency" }, // بېړنی - beRanéy
{ ts: 1592382613021, e: "old, ancient, former" }, // پخوانی - pakhwaanéy
{ ts: 1527819532, e: "foreign, unrelated" }, // پردی - pradéy, prudéy
{ ts: 1577381894391, e: "Englishman, Westerner" }, // پرنګی - parangéy
{ ts: 1527820194, e: "so-and-so" }, // پلانکی - pulaankéy
{ ts: 1527820130, e: "adherent" }, // پلوی - palawéy
{ ts: 1582390092514, e: "upper, above" }, // پورتنی - portinéy
{ ts: 1610617741649, e: "old, ancient" }, // ځنډنی - dzanDanéy, dzanDunéy
{ ts: 1610793723568, e: "goat" }, // چېلی - cheléy
{ ts: 1527819362, e: "calf (animal)" }, // خوسی - khooséy
{ ts: 1590052667427, e: "witness" }, // درستی - drustéy, drastéy
{ ts: 1527822854, e: "first, before" }, // ړومبی - Roombéy
{ ts: 1527820213, e: "lion" }, // زمری - zmaréy
{ ts: 1527813923, e: "living" }, // ژوندی - jzwundéy
{ ts: 1527815299, e: "dog" }, // سپی - spéy
{ ts: 1527820788, e: "city, urban" }, // ښارنی - xaaranéy
{ ts: 1527812822, e: "little, small" }, // کوچنی - koochnéy
{ ts: 1527823742, e: "nomadic" }, // کوچی - kochéy
{ ts: 1527818765, e: "speedy, quick" }, // ګړندی - guRandéy
{ ts: 1527819130, e: "cute" }, // ګلالی - gUlaaléy
{ ts: 1576101261017, e: "mute (person)" }, // ګنګی - gangéy
{ ts: 1582316583262, e: "lower, bottom" }, // لاندینی - laandeenéy
{ ts: 1527816249, e: "grandchild" }, // لمسی - lmaséy
{ ts: 1527813472, e: "first" }, // لومړنی - loomRanéy
{ ts: 1527813132, e: "first" }, // لومړی - loomRéy
{ ts: 1527819910, e: "slippery, smooth" }, // متلی - mutléy
{ ts: 1527820414, e: "middle, central" }, // منځنی - mandzunéy
{ ts: 1527811202, e: "monthly" }, // میاشتنی - miyaashtanéy
{ ts: 1527819320, e: "thin" }, // نری - naréy
{ ts: 1527816251, e: "grandchild" }, // نمسی - nmaséy
{ ts: 1527821373, e: "deer" }, // هوسی - hoséy
{ ts: 1527813636, e: "last" }, // وروستی - wroostéy
{ ts: 1527815430, e: "only" }, // یوازنی - yawaazunéy
{ ts: 1591872915426, e: "Afghan (person)" }, // افغانی - afghaanéy
{ ts: 1612616237182, e: "Pakistani (person)" }, // پاکستانی - paakistaanéy
{ ts: 1527813400, e: "current" }, // اوسنی - oosanéy
{ ts: 1527815661, e: "first" }, // اولنی - awwalunéy
{ ts: 1527812476, e: "child" }, // بچی - bachéy
{ ts: 1527816646, e: "foreigner, outer" }, // بهرنی - baharanéy, bahranéy
{ ts: 1527818769, e: "emergency" }, // بېړنی - beRanéy
{ ts: 1592382613021, e: "old, ancient, former" }, // پخوانی - pakhwaanéy
{ ts: 1527819532, e: "foreign, unrelated" }, // پردی - pradéy, prudéy
{ ts: 1577381894391, e: "Englishman, Westerner" }, // پرنګی - parangéy
{ ts: 1527820194, e: "so-and-so" }, // پلانکی - pulaankéy
{ ts: 1527820130, e: "adherent" }, // پلوی - palawéy
{ ts: 1582390092514, e: "upper, above" }, // پورتنی - portinéy
{ ts: 1610617741649, e: "old, ancient" }, // ځنډنی - dzanDanéy, dzanDunéy
{ ts: 1610793723568, e: "goat" }, // چېلی - cheléy
{ ts: 1527819362, e: "calf (animal)" }, // خوسی - khooséy
{ ts: 1590052667427, e: "witness" }, // درستی - drustéy, drastéy
{ ts: 1527822854, e: "first, before" }, // ړومبی - Roombéy
{ ts: 1527820213, e: "lion" }, // زمری - zmaréy
{ ts: 1527813923, e: "living" }, // ژوندی - jzwundéy
{ ts: 1527815299, e: "dog" }, // سپی - spéy
{ ts: 1527820788, e: "city, urban" }, // ښارنی - xaaranéy
{ ts: 1527812822, e: "little, small" }, // کوچنی - koochnéy
{ ts: 1527823742, e: "nomadic" }, // کوچی - kochéy
{ ts: 1527818765, e: "speedy, quick" }, // ګړندی - guRandéy
{ ts: 1527819130, e: "cute" }, // ګلالی - gUlaaléy
{ ts: 1576101261017, e: "mute (person)" }, // ګنګی - gangéy
{ ts: 1582316583262, e: "lower, bottom" }, // لاندینی - laandeenéy
{ ts: 1527816249, e: "grandchild" }, // لمسی - lmaséy
{ ts: 1527813472, e: "first" }, // لومړنی - loomRanéy
{ ts: 1527813132, e: "first" }, // لومړی - loomRéy
{ ts: 1527819910, e: "slippery, smooth" }, // متلی - mutléy
{ ts: 1527820414, e: "middle, central" }, // منځنی - mandzunéy
{ ts: 1527811202, e: "monthly" }, // میاشتنی - miyaashtanéy
{ ts: 1527819320, e: "thin" }, // نری - naréy
{ ts: 1527816251, e: "grandchild" }, // نمسی - nmaséy
{ ts: 1527821373, e: "deer" }, // هوسی - hoséy
{ ts: 1527813636, e: "last" }, // وروستی - wroostéy
{ ts: 1527815430, e: "only" }, // یوازنی - yawaazunéy
];

View File

@ -7,58 +7,58 @@
*/
module.exports = [
{ ts: 1582853867682, e: "resident" }, // اوسېدونکی
{ ts: 1527813469, e: "forgiving" }, // بخښونکی
{ ts: 1527817829, e: "debtor" }, // پوروړی
{ ts: 1527815205, e: "powerful" }, // پیاوړی
{ ts: 1527815924, e: "customer" }, // پېرودونکی
{ ts: 1527819604, e: "tense, stern" }, // ترینګلی
{ ts: 1527813406, e: "bound, tied" }, // تړلی
{ ts: 1527815381, e: "thirsty" }, // تږی
{ ts: 1527817607, e: "disgraceful, shameful, dishonered" }, // تور مخی
{ ts: 1527822859, e: "dishevelled, messy, curly (with hair etc.)" }, // څپولی
{ ts: 1527811466, e: "researcher" }, // څېړونکی
{ ts: 1527812377, e: "obedient, submissive" }, // حکم منونکی
{ ts: 1527817299, e: "amazing, surprising" }, // حیرانوونکی
{ ts: 1527813282, e: "seller" }, // خرڅوونکی
{ ts: 1527812809, e: "malnourished" }, // خوار ځواکی
{ ts: 1591871233587, e: "well-spoken" }, // خوږژبی
{ ts: 1527814118, e: "painful, agonizing" }, // دردوونکی
{ ts: 1527820657, e: "mediator, arbitrator" }, // درېیمګړی
{ ts: 1527815713, e: "coming, future" }, // راتلونکی
{ ts: 1527812142, e: "true, truthful" }, // رښتنی
{ ts: 1527812161, e: "true, truthful" }, // رښتونی
{ ts: 1527811507, e: "true, truthful" }, // رښتینی
{ ts: 1527813758, e: "student" }, // زدکوونکی
{ ts: 1577058349091, e: "interesting, pleasant" }, // زړه پوری
{ ts: 1527817400, e: "merciful, compassionate" }, // زړه سواندی
{ ts: 1527819587, e: "translator" }, // ژباړونکی
{ ts: 1527814888, e: "savior, saviour, rescuer" }, // ژغورونکی
{ ts: 1527818109, e: "pure, holy, magnificent" }, // سپېڅلی
{ ts: 1527811338, e: "sincere hearted, trusting" }, // سپین زړی
{ ts: 1527815306, e: "tired" }, // ستړی
{ ts: 1527822745, e: "burned" }, // سټکوری
{ ts: 1527817442, e: "heard-hearted" }, // سخت زړی
{ ts: 1527816932, e: "soldier" }, // سرتېری
{ ts: 1527820170, e: "singer" }, // سندرغاړی
{ ts: 1527819964, e: "burning" }, // سوځېدونکی
{ ts: 1527821951, e: "burned" }, // سوی
{ ts: 1527812779, e: "beautiful" }, // ښکلی
{ ts: 1527812806, e: "teacher" }, // ښوونکی
{ ts: 1527811350, e: "quiet, silent" }, // غلی
{ ts: 1527819637, e: "worker" }, // کارکوونکی
{ ts: 1527818613, e: "weak" }, // کمزوری
{ ts: 1595516629483, e: "deafening" }, // کڼوونکی
{ ts: 1527820661, e: "mediator" }, // مېنځګړی
{ ts: 1527814047, e: "aforesaid, above-mentioned" }, // نوموړی
{ ts: 1527813822, e: "new" }, // نوی
{ ts: 1586453720908, e: "encouraging" }, // هڅوونکی
{ ts: 1588163180700, e: "stunning, amazing" }, // هېښوونکی
{ ts: 1527823715, e: "small, little" }, // وړکوټی
{ ts: 1527823714, e: "small, little" }, // وړکی
{ ts: 1527815403, e: "little, small" }, // وړوکی
{ ts: 1527813916, e: "lethal, deadly" }, // وژونکی
{ ts: 1527815424, e: "hungry" }, // وږی
{ ts: 1527823713, e: "small, little" }, // ووړکی
{ ts: 1527816455, e: "separated, divided" }, // وېشلی
];
{ ts: 1582853867682, e: "resident" }, // اوسېدونکی
{ ts: 1527813469, e: "forgiving" }, // بخښونکی
{ ts: 1527817829, e: "debtor" }, // پوروړی
{ ts: 1527815205, e: "powerful" }, // پیاوړی
{ ts: 1527815924, e: "customer" }, // پېرودونکی
{ ts: 1527819604, e: "tense, stern" }, // ترینګلی
{ ts: 1527813406, e: "bound, tied" }, // تړلی
{ ts: 1527815381, e: "thirsty" }, // تږی
{ ts: 1527817607, e: "disgraceful, shameful, dishonered" }, // تور مخی
{ ts: 1527822859, e: "dishevelled, messy, curly (with hair etc.)" }, // څپولی
{ ts: 1527811466, e: "researcher" }, // څېړونکی
{ ts: 1527812377, e: "obedient, submissive" }, // حکم منونکی
{ ts: 1690458841825, e: "amazing, surprising" }, // حیرانوونکی
{ ts: 1527813282, e: "seller" }, // خرڅوونکی
{ ts: 1527812809, e: "malnourished" }, // خوار ځواکی
{ ts: 1591871233587, e: "well-spoken" }, // خوږژبی
{ ts: 1527814118, e: "painful, agonizing" }, // دردوونکی
{ ts: 1527820657, e: "mediator, arbitrator" }, // درېیمګړی
{ ts: 1527815713, e: "coming, future" }, // راتلونکی
{ ts: 1527812142, e: "true, truthful" }, // رښتنی
{ ts: 1527812161, e: "true, truthful" }, // رښتونی
{ ts: 1527811507, e: "true, truthful" }, // رښتینی
{ ts: 1527813758, e: "student" }, // زدکوونکی
{ ts: 1577058349091, e: "interesting, pleasant" }, // زړه پوری
{ ts: 1527817400, e: "merciful, compassionate" }, // زړه سواندی
{ ts: 1527819587, e: "translator" }, // ژباړونکی
{ ts: 1527814888, e: "savior, saviour, rescuer" }, // ژغورونکی
{ ts: 1527818109, e: "pure, holy, magnificent" }, // سپېڅلی
{ ts: 1527811338, e: "sincere hearted, trusting" }, // سپین زړی
{ ts: 1527815306, e: "tired" }, // ستړی
{ ts: 1527822745, e: "burned" }, // سټکوری
{ ts: 1527817442, e: "heard-hearted" }, // سخت زړی
{ ts: 1527816932, e: "soldier" }, // سرتېری
{ ts: 1527820170, e: "singer" }, // سندرغاړی
{ ts: 1527819964, e: "burning" }, // سوځېدونکی
{ ts: 1527821951, e: "burned" }, // سوی
{ ts: 1527812779, e: "beautiful" }, // ښکلی
{ ts: 1527812806, e: "teacher" }, // ښوونکی
{ ts: 1527811350, e: "quiet, silent" }, // غلی
{ ts: 1527819637, e: "worker" }, // کارکوونکی
{ ts: 1527818613, e: "weak" }, // کمزوری
{ ts: 1595516629483, e: "deafening" }, // کڼوونکی
{ ts: 1527820661, e: "mediator" }, // مېنځګړی
{ ts: 1527814047, e: "aforesaid, above-mentioned" }, // نوموړی
{ ts: 1527813822, e: "new" }, // نوی
{ ts: 1586453720908, e: "encouraging" }, // هڅوونکی
{ ts: 1588163180700, e: "stunning, amazing" }, // هېښوونکی
{ ts: 1527823715, e: "small, little" }, // وړکوټی
{ ts: 1527823714, e: "small, little" }, // وړکی
{ ts: 1527815403, e: "little, small" }, // وړوکی
{ ts: 1527813916, e: "lethal, deadly" }, // وژونکی
{ ts: 1527815424, e: "hungry" }, // وږی
{ ts: 1527823713, e: "small, little" }, // ووړکی
{ ts: 1527816455, e: "separated, divided" }, // وېشلی
];