From 6128dfa1d3d19d5f689fd7a6da97096faf574eb9 Mon Sep 17 00:00:00 2001 From: adueck Date: Thu, 27 Jul 2023 17:07:59 +0400 Subject: [PATCH] cleanup --- package-lock.json | 4 +- package.json | 2 +- src/components/package-lock.json | 4 +- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/lib/src/phonetics-to-diacritics.test.ts | 14 +++ test.http | 1 + vocab/nouns-adjs/ey-stressed-unisex.js | 79 +++++++------- vocab/nouns-adjs/ey-unstressed-unisex.js | 110 ++++++++++---------- 9 files changed, 116 insertions(+), 102 deletions(-) create mode 100644 test.http diff --git a/package-lock.json b/package-lock.json index 6773e4f..f036ecd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 382a984..9c43d4e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/package-lock.json b/src/components/package-lock.json index d18971f..c8e4c0f 100644 --- a/src/components/package-lock.json +++ b/src/components/package-lock.json @@ -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", diff --git a/src/components/package.json b/src/components/package.json index e13165a..adc5791 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -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", diff --git a/src/lib/package.json b/src/lib/package.json index 3871a48..01761ae 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -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", diff --git a/src/lib/src/phonetics-to-diacritics.test.ts b/src/lib/src/phonetics-to-diacritics.test.ts index 3d58668..df3c6b0 100644 --- a/src/lib/src/phonetics-to-diacritics.test.ts +++ b/src/lib/src/phonetics-to-diacritics.test.ts @@ -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: "کور", diff --git a/test.http b/test.http new file mode 100644 index 0000000..ba5fc54 --- /dev/null +++ b/test.http @@ -0,0 +1 @@ +GET https://account.lingdocs.com/dictionary HTTP/1.1 \ No newline at end of file diff --git a/vocab/nouns-adjs/ey-stressed-unisex.js b/vocab/nouns-adjs/ey-stressed-unisex.js index 14ce0fd..d50dbc6 100644 --- a/vocab/nouns-adjs/ey-stressed-unisex.js +++ b/vocab/nouns-adjs/ey-stressed-unisex.js @@ -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 ]; diff --git a/vocab/nouns-adjs/ey-unstressed-unisex.js b/vocab/nouns-adjs/ey-unstressed-unisex.js index 213c1b7..8caaee4 100644 --- a/vocab/nouns-adjs/ey-unstressed-unisex.js +++ b/vocab/nouns-adjs/ey-unstressed-unisex.js @@ -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" }, // وېشلی -]; \ No newline at end of file + { 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" }, // وېشلی +];