fix negative thing w passive

This commit is contained in:
lingdocs 2022-04-03 01:10:53 +05:00
parent 1243386a64
commit 12039e6cb8
1 changed files with 3 additions and 3 deletions

View File

@ -223,16 +223,16 @@ function arrangeVerbWNegative(head: T.PsString | undefined, restRaw: T.PsString[
];
}
return [
[
...(V.voice !== "passive") ? [[
...headSegment ? [headSegment.adjust({ ps: removeAccents })] : [],
rest.adjust({
ps: r => concatPsString(nu, " ", removeAccents(r)),
desc: ["isNu"],
}),
],
]] : [],
// verbs that have a perfective prefix that is not و or وا can put the
// nu *before* the prefix as well // TODO: also وي prefixes?
...(!headSegment.isOoOrWaaHead && !V.isCompound) ? [[
...((!headSegment.isOoOrWaaHead && !V.isCompound) || (V.voice === "passive")) ? [[
makeSegment(nu, ["isNu"]),
headSegment.adjust({ ps: removeAccents }),
rest.adjust({ ps: removeAccents }),