perfect shortest form change

This commit is contained in:
lingdocs 2022-05-13 22:59:28 -05:00
parent 97364b284f
commit c761878cd1
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "2.5.1", "version": "2.5.2",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",

View File

@ -182,13 +182,14 @@ function arrangeVerbWNegative(head: T.PsString | undefined, restRaw: T.PsString[
if ("front" in rest) { if ("front" in rest) {
return [ return [
// pefect nu dey me leeduley and nu me dey leeduley // pefect nu dey me leeduley and nu me dey leeduley
[ // actually don't think this is correct - keeping it out for now
mergeSegments( // [
makeSegment(nu, ["isNu"]), // mergeSegments(
rest.last.adjust({ ps: removeAccents }), // makeSegment(nu, ["isNu"]),
), // rest.last.adjust({ ps: removeAccents }),
rest.front.adjust({ ps: removeAccents }), // ),
], // rest.front.adjust({ ps: removeAccents }),
// ],
[ [
makeSegment(nu, ["isNu"]), makeSegment(nu, ["isNu"]),
rest.last.adjust({ ps: removeAccents }), rest.last.adjust({ ps: removeAccents }),