From 0ade410698bc6a4aa45249672edb9ea3e8cef464 Mon Sep 17 00:00:00 2001 From: adueck Date: Fri, 6 Dec 2024 15:06:14 +0500 Subject: [PATCH] fix up masc inflection of demonstratives --- package.json | 4 ++-- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/lib/src/parsing/parse-vbe-new.ts | 2 ++ src/lib/src/phrase-building/render-np.ts | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d8e6e31..b7e8317 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector-website", - "version": "7.7.1", + "version": "7.7.2", "type": "module", "scripts": { "patch": "npm version patch --no-git-tag-version && cd src/lib && npm version patch --no-git-tag-version && cd ../components && npm version patch --no-git-tag-version", @@ -46,4 +46,4 @@ "typescript-eslint": "^8.0.0", "vite": "^5.4.0" } -} \ No newline at end of file +} diff --git a/src/components/package.json b/src/components/package.json index 8ae10fd..371cd6e 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "7.7.1", + "version": "7.7.2", "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 3bcf876..e835efc 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "7.7.1", + "version": "7.7.2", "description": "Pashto inflector library", "main": "dist/lib/library.cjs", "module": "dist/lib/library.js", diff --git a/src/lib/src/parsing/parse-vbe-new.ts b/src/lib/src/parsing/parse-vbe-new.ts index 8bae392..a866c6f 100644 --- a/src/lib/src/parsing/parse-vbe-new.ts +++ b/src/lib/src/parsing/parse-vbe-new.ts @@ -8,6 +8,8 @@ import * as tp from "../type-predicates"; import memoize from "micro-memoize"; import { pashtoConsonants } from "../pashto-consonants"; +// TODO: و ارزول + // TODO: کول verbs! // check that aawu stuff is working // check oo`azmooy - diff --git a/src/lib/src/phrase-building/render-np.ts b/src/lib/src/phrase-building/render-np.ts index 3e4d6ce..b2262f7 100644 --- a/src/lib/src/phrase-building/render-np.ts +++ b/src/lib/src/phrase-building/render-np.ts @@ -178,7 +178,7 @@ function renderDeterminer({ ? number === "plural" ? { p: "دغو", f: "dágho" } : gender === "masc" - ? { p: "دغه", f: "dághu" } + ? { p: "دغه", f: "dágha" } : { p: "دغې", f: "dághe" } : { p: "دغه", f: "dágha" }; return { @@ -196,7 +196,7 @@ function renderDeterminer({ ? number === "plural" ? { p: "هغو", f: "hágho" } : gender === "masc" - ? { p: "هغه", f: "hághu" } + ? { p: "هغه", f: "hágha" } : { p: "هغې", f: "hághe" } : { p: "هغه", f: "hágha" }; return {