diff --git a/src/components/phrase-diagram/EditableVPEx.tsx b/src/components/phrase-diagram/EditableVPEx.tsx index 9c32d74..119670f 100644 --- a/src/components/phrase-diagram/EditableVPEx.tsx +++ b/src/components/phrase-diagram/EditableVPEx.tsx @@ -16,7 +16,7 @@ export function EditIcon() { // TODO: Ability to show all variations -function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub }: { +function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub, allVariations }: { children: T.VPSelectionState, opts: T.TextOptions, formChoice?: boolean, @@ -24,6 +24,7 @@ function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub }: length?: "long" | "short", mode?: "text" | "blocks", sub?: string | JSX.Element, + allVariations?: boolean, }) { const [editing, setEditing] = useState(false); const [selectedLength, setSelectedLength] = useState<"long" | "short">(length || "short"); @@ -69,10 +70,10 @@ function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub }: opts={opts} VPS={vps} justify="left" - onlyOne="concat" + onlyOne={allVariations ? false : "concat"} setForm={handleSetForm} onLengthChange={setSelectedLength} - length={selectedLength} + length={allVariations ? undefined : selectedLength} mode={mode} inlineFormChoice /> diff --git a/src/content/verbs/ability.mdx b/src/content/verbs/ability.mdx index c6ebd10..3f36eec 100644 --- a/src/content/verbs/ability.mdx +++ b/src/content/verbs/ability.mdx @@ -9,9 +9,11 @@ import { RootsAndStems, conjugateVerb, getVerbInfo, - getPassiveRootsAndStems, + getAbilityRootsAndStems, + removeFVarients, } from "@lingdocs/pashto-inflector"; import { KidsSection, VP, KingIcon, ServantIcon, Camera, Video, BlocksIcon } from "../../components/terms-links"; +import Carousel from "../../components/Carousel"; import psmd from "../../lib/psmd"; import Link from "../../components/Link"; import Image from "../../components/Image"; @@ -180,6 +182,69 @@ Of course we can also use the habitual past forms with ability, simply by adding {"blocks":[{"key":0.1914245855622032,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.10810428860719257,"block":{"type":"objectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":2,"distance":"far"}}}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11624,"p":"لیدل","f":"leedul","g":"leedul","e":"to see","c":"v. trans./gramm. trans.","psp":"وین","psf":"ween","tppp":"لید","tppf":"leed","ec":"see,sees,seeing,saw,seen"}},"verbTense":"habitualImperfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"modal","transitivity":"transitive","isCompound":false,"voice":"active","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} } +## Exceptions + +With intransitive stative compound verbs we can't use the perfective roots because it would be awkward doubling up the helper verbs. For example, you can't say because is just... no. + +So for the ability roots and stems of intransitive stative compound verbs we just use the imperfective roots and stems . + + + +This means that when someone says: + +{ + {"blocks":[{"key":0.411085695548967,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9034337400391925,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527816735,"i":5983,"p":"داخلېدل","f":"daakhiledul","g":"daakhiledul","e":"to enter, go in; to be included; to be enrolled","c":"v. stat. comp. intrans.","l":1527816727,"ec":"enter"},"complement":{"ts":1527816727,"i":5979,"p":"داخل","f":"daakhil","g":"daakhil","e":"entering, internal, included; participation","c":"adj. / n. m."}},"verbTense":"perfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"modal","transitivity":"intransitive","isCompound":"stative","voice":"active","negative":false,"canChangeTransitivity":false,"canChangeVoice":false,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +They could be talking about it in a imperfective