oops forgot x in the consonants!

This commit is contained in:
lingdocs 2021-10-19 21:24:05 -04:00
parent 1dab65321e
commit 80b22d98ad
4 changed files with 14 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/pashto-inflector",
"version": "1.3.0",
"version": "1.3.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

@ -8,5 +8,5 @@
export const pashtoConsonants = ["ب", "پ", "ت", "ټ", "ث", "ج", "چ", "ح", "خ", "څ", "ځ", "د", "ډ", "ذ", "ر", "ړ", "ز", "ژ", "ږ", "س", "ش", "ښ", "ص", "ض", "ط", "ظ", "غ", "ف", "ق", "ک", "ګ", "گ", "ل", "ل", "م", "ن", "ڼ"];
export const phoneticsConsonants = [
"b", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "w", "z",
"b", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "w", "x", "z",
];

View File

@ -668,6 +668,17 @@ const nouns: Array<{
},
},
},
{
in: {"ts":1527816746,"i":9017,"p":"غاښ","f":"ghaax","g":"ghaax","e":"tooth","c":"n. m.","ec":"tooth","ep":"teeth"},
out: {
plural: {
masc: [
[{ p: "غاښونه", f: "ghaaxóona" }],
[{ p: "غاښونو", f: "ghaaxóono" }],
],
},
},
},
{
in: {"ts":1527815394,"i":13991,"p":"واده","f":"waadú","g":"waadu","e":"wedding, marriage","c":"n. m.","ppp":"ودونه","ppf":"wadóona"},
out: {

View File

@ -543,7 +543,7 @@ function makePlural(w: T.DictionaryEntryNoFVars): { plural: T.PluralInflections
type === "masc noun" &&
(shortSquish || ((endsInConsonant(w) || endsInShwa(w)) && (!w.infap))) &&
(w.p.slice(-3) !== "توب")
) {
) {
return {
arabicPlural,
plural: {