From c9f369de09ba5e87c45fb6d8eafee3c7581717df Mon Sep 17 00:00:00 2001 From: adueck Date: Mon, 4 Dec 2023 14:22:31 +0400 Subject: [PATCH] testing fix --- 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/parsing/irreg-verbs.ts | 8 +-- src/lib/src/parsing/utils.ts | 4 +- vocab/nouns-adjs/basic-unisex.js | 2 +- vocab/nouns-adjs/exception-people-masc.js | 80 +++++++++++++---------- 9 files changed, 59 insertions(+), 49 deletions(-) diff --git a/package-lock.json b/package-lock.json index 750154f..36a122d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "7.0.2", + "version": "7.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "7.0.2", + "version": "7.0.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 6cfe634..2063128 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "7.0.2", + "version": "7.0.3", "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 4cdf3b0..a1dd7e2 100644 --- a/src/components/package-lock.json +++ b/src/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lingdocs/ps-react", - "version": "7.0.2", + "version": "7.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lingdocs/ps-react", - "version": "7.0.2", + "version": "7.0.3", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^1.0.0-beta.3", diff --git a/src/components/package.json b/src/components/package.json index 6e9ee76..d36868a 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "7.0.2", + "version": "7.0.3", "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 58fbfb5..54604df 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "7.0.2", + "version": "7.0.3", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/lib/src/parsing/irreg-verbs.ts b/src/lib/src/parsing/irreg-verbs.ts index 1129147..41d66ee 100644 --- a/src/lib/src/parsing/irreg-verbs.ts +++ b/src/lib/src/parsing/irreg-verbs.ts @@ -14,7 +14,7 @@ export const kedulStat = { ts: 1581086654898, i: 11100, p: "کېدل", - f: "kedul", + f: "kedúl", g: "kedul", e: "to become _____", r: 2, @@ -34,7 +34,7 @@ export const kedulDyn = { ts: 1527812754, i: 11101, p: "کېدل", - f: "kedul", + f: "kedúl", g: "kedul", e: "to happen, occur", r: 2, @@ -57,7 +57,7 @@ export const kawulStat = { ts: 1579015359582, i: 11112, p: "کول", - f: "kawul", + f: "kawúl", g: "kawul", e: 'to make ____ ____ (as in "He\'s making me angry.")', r: 4, @@ -78,7 +78,7 @@ export const kawulDyn = { ts: 1527812752, i: 11113, p: "کول", - f: "kawul", + f: "kawúl", g: "kawul", e: "to do (an action or activity)", r: 4, diff --git a/src/lib/src/parsing/utils.ts b/src/lib/src/parsing/utils.ts index 0af788c..f0fc413 100644 --- a/src/lib/src/parsing/utils.ts +++ b/src/lib/src/parsing/utils.ts @@ -117,7 +117,9 @@ export function isCompleteResult( export function removeKeys(a: any): any { return JSON.parse( - JSON.stringify(a, (k, v) => (k === "i" || k === "key" ? undefined : v)) + JSON.stringify(a, (k, v) => + k === "i" || k === "a" || k === "key" ? undefined : v + ) ); } diff --git a/vocab/nouns-adjs/basic-unisex.js b/vocab/nouns-adjs/basic-unisex.js index a60c573..f28089f 100644 --- a/vocab/nouns-adjs/basic-unisex.js +++ b/vocab/nouns-adjs/basic-unisex.js @@ -13,7 +13,7 @@ module.exports = [ { ts: 1527821744, e: "cook, chef" }, // آشپز - aashpáz { ts: 1527812461, e: "hero, brave" }, // اتل - atul { ts: 1527821649, e: "impressive, effective, influencing" }, // اثرناک - asarnáak - { ts: 1527818704, e: "wide, spacious, extensive" }, // ارت - arát + { ts: 1573663943732, e: "wide, spacious, extensive" }, // ارت - arát { ts: 1578340121962, e: "free, independant" }, // ازاد - azáad { ts: 1527819418, e: "independant, autonomous" }, // خپلواک - khpulwaak { ts: 1527817146, e: "resident; settled" }, // استوګن - astogan diff --git a/vocab/nouns-adjs/exception-people-masc.js b/vocab/nouns-adjs/exception-people-masc.js index c7da43d..8fdcd61 100644 --- a/vocab/nouns-adjs/exception-people-masc.js +++ b/vocab/nouns-adjs/exception-people-masc.js @@ -1,37 +1,45 @@ module.exports = [ - { ts: 1527821817, e: `uncle (paternal)` }, // اکا - akáa - { ts: 1527816411, e: `father, grandfather (vocative or in child's speech)` }, // بابا - baabaa - { ts: 1527819439, e: `king, ruler, president, padishah` }, // باچا - baacháa - { ts: 1527823298, e: `sparrow-hawk, eagle` }, // باښه - baaxá - { ts: 1527817718, e: `slave, servant, a human, person (as in a slave of God)` }, // بنده - bandá - { ts: 1527815031, e: `prisoner, captive` }, // بندي - bandee - { ts: 1527815142, e: `king` }, // پاچا - paachaa - { ts: 1527817280, e: `leper` }, // جذامي - jUzaamee - { ts: 1527814236, e: `pot smoker, pothead, someone addicted to marijuana, pot, hash` }, // چرسي - charsee - { ts: 1578618561154, e: `Haji, someone who has gone on the Hajj` }, // حاجي - haajee - { ts: 1527821193, e: `supporter, protector, defender, patron, saviour` }, // حامي - haamee - { ts: 1591711877815, e: `washerman, someone who does the laundry` }, // دوبي - dobée - { ts: 1527820139, e: `rabab player, rubab player` }, // ربابي - rabaabee - { ts: 1619278755267, e: `troubling, pestering` }, // ربړنه - rabaRúna - { ts: 1577066022588, e: `cupbearer, butler, bartender, alchohol maker` }, // ساقي - saaqée - { ts: 1527822817, e: `soldier, warrior, guard` }, // سپاهي - sipaahee - { ts: 1527812975, e: `barber, hairdresser` }, // سلماني - salmaanee - { ts: 1527819414, e: `prince` }, // شاهزاده - shaahzaadá - { ts: 1527818084, e: `drinker, drunkard, alcoholic, wine-bibber` }, // شرابي - sharaabee - { ts: 1527821950, e: `prince` }, // شهزاده - shahzaadá - { ts: 1588158828142, e: `hunter` }, // ښکاري - xkaaree - { ts: 1527815206, e: `judge, religious authority/judge` }, // قاضي - qaazee - { ts: 1527818500, e: `contractor, supplier` }, // قراردادي - qaraardaadee - { ts: 1527816446, e: `paternal uncle, term of address for elderly man` }, // کاکا - kaakaa - { ts: 1595232159907, e: `begger, panhandler` }, // ګدا - gadáa - { ts: 1527816512, e: `elder brother, general form of familiar and respectful address` }, // لالا - laalaa - { ts: 1527812878, e: `uncle (maternal), respectful form of address` }, // ماما - maamaa - { ts: 1610556640847, e: `census` }, // مردمشماري - mărdamshUmaaree - { ts: 1527815484, e: `mullah, priest` }, // ملا - mUllaa - { ts: 1527821714, e: `parallel, matching, appropriate, identical` }, // موازي - mUwaazée - { ts: 1527816514, e: `shoemaker, shoe repairman, cobbler` }, // موچي - mochee - { ts: 1527823093, e: `prophet` }, // نبي - nabee - { ts: 1579041957559, e: `call, appeal, shout, summoning` }, // ندا - nadáa - { ts: 1527816253, e: `grandson` }, // نواسه - nawaasa - { ts: 1527819971, e: `governor` }, // والي - waalée -]; \ No newline at end of file + { ts: 1527821817, e: `uncle (paternal)` }, // اکا - akáa + { ts: 1527816411, e: `father, grandfather (vocative or in child's speech)` }, // بابا - baabaa + { ts: 1527819439, e: `king, ruler, president, padishah` }, // باچا - baacháa + { ts: 1527823298, e: `sparrow-hawk, eagle` }, // باښه - baaxá + { + ts: 1527817718, + e: `slave, servant, a human, person (as in a slave of God)`, + }, // بنده - bandá + { ts: 1527815031, e: `prisoner, captive` }, // بندي - bandee + { ts: 1527815142, e: `king` }, // پاچا - paachaa + { ts: 1527817280, e: `leper` }, // جذامي - jUzaamee + { + ts: 1527814236, + e: `pot smoker, pothead, someone addicted to marijuana, pot, hash`, + }, // چرسي - charsee + { ts: 1578618561154, e: `Haji, someone who has gone on the Hajj` }, // حاجي - haajee + { ts: 1527821193, e: `supporter, protector, defender, patron, saviour` }, // حامي - haamee + { ts: 1591711877815, e: `washerman, someone who does the laundry` }, // دوبي - dobée + { ts: 1527820139, e: `rabab player, rubab player` }, // ربابي - rabaabee + { ts: 1619278755267, e: `troubling, pestering` }, // ربړنه - rabaRúna + { ts: 1577066022588, e: `cupbearer, butler, bartender, alchohol maker` }, // ساقي - saaqée + { ts: 1527822817, e: `soldier, warrior, guard` }, // سپاهي - sipaahee + { ts: 1527812975, e: `barber, hairdresser` }, // سلماني - salmaanee + { ts: 1527819414, e: `prince` }, // شاهزاده - shaahzaadá + { ts: 1527818084, e: `drinker, drunkard, alcoholic, wine-bibber` }, // شرابي - sharaabee + { ts: 1527821950, e: `prince` }, // شهزاده - shahzaadá + { ts: 1588158828142, e: `hunter` }, // ښکاري - xkaaree + { ts: 1527815206, e: `judge, religious authority/judge` }, // قاضي - qaazee + { ts: 1527818500, e: `contractor, supplier` }, // قراردادي - qaraardaadee + { ts: 1527816446, e: `paternal uncle, term of address for elderly man` }, // کاکا - kaakaa + { ts: 1595232159907, e: `begger, panhandler` }, // ګدا - gadáa + { + ts: 1527816512, + e: `elder brother, general form of familiar and respectful address`, + }, // لالا - laalaa + { ts: 1527812878, e: `uncle (maternal), respectful form of address` }, // ماما - maamaa + { ts: 1610556640847, e: `census` }, // مردمشماري - mărdamshUmaaree + { ts: 1527815484, e: `mullah, priest` }, // ملا - mUllaa + { ts: 1527821714, e: `parallel, matching, appropriate, identical` }, // موازي - mUwaazée + { ts: 1527823093, e: `prophet` }, // نبي - nabee + { ts: 1579041957559, e: `call, appeal, shout, summoning` }, // ندا - nadáa + { ts: 1527816253, e: `grandson` }, // نواسه - nawaasa + { ts: 1527819971, e: `governor` }, // والي - waalée +];