From d293a5d05ecbd48542da28c6b8f8647b7c572ec7 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Tue, 26 Jul 2022 13:48:29 -0500 Subject: [PATCH] starting passive page --- package.json | 2 +- src/content/index.ts | 6 +- src/content/verbs/passive-verbs.mdx | 97 -------- src/content/verbs/passive-voice.mdx | 358 ++++++++++++++++++++++++++++ yarn.lock | 8 +- 5 files changed, 366 insertions(+), 105 deletions(-) delete mode 100644 src/content/verbs/passive-verbs.mdx create mode 100644 src/content/verbs/passive-voice.mdx diff --git a/package.json b/package.json index e3eea0e..026261c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "@formkit/auto-animate": "^1.0.0-beta.1", "@fortawesome/fontawesome-free": "^5.15.4", "@lingdocs/lingdocs-main": "^0.3.1", - "@lingdocs/pashto-inflector": "^3.5.3", + "@lingdocs/pashto-inflector": "^3.5.4", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", diff --git a/src/content/index.ts b/src/content/index.ts index 4994419..309adbb 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -70,7 +70,7 @@ import * as perfectVerbsIntro from "!babel-loader!@lingdocs/mdx-loader!./verbs/p // @ts-ignore import * as allPerfectVerbs from "!babel-loader!@lingdocs/mdx-loader!./verbs/all-perfect-verbs.mdx"; // @ts-ignore -import * as passiveVerbs from "!babel-loader!@lingdocs/mdx-loader!./verbs/passive-verbs.mdx"; +import * as passiveVoice from "!babel-loader!@lingdocs/mdx-loader!./verbs/passive-voice.mdx"; // @ts-ignore import * as compoundVerbsIntro from "!babel-loader!@lingdocs/mdx-loader!./compound-verbs/intro.mdx"; @@ -273,8 +273,8 @@ const contentTree: (ChapterSection | ChaptersSection)[] = [ slug: "verb-endings", }, { - import: passiveVerbs, - slug: "passive-verbs", + import: passiveVoice, + slug: "passive-voice", }, ], }, diff --git a/src/content/verbs/passive-verbs.mdx b/src/content/verbs/passive-verbs.mdx deleted file mode 100644 index 56f2f01..0000000 --- a/src/content/verbs/passive-verbs.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Passive Verbs ---- - -import { - defaultTextOptions as opts, - Examples, - InlinePs, -} from "@lingdocs/pashto-inflector"; -import { KidsSection, VP, KingIcon, ServantIcon } from "../../components/terms-links"; -import psmd from "../../lib/psmd"; -import Link from "../../components/Link"; -import Formula from "../../components/formula/Formula"; -import VideoPlayer from "../../components/VideoPlayer"; - - - -Transitive verbs in Pashto can be used in the [passive voice](https://en.wikipedia.org/wiki/Passive_voice). In the passive voice the object moves over to the role of the subject and the verb talks about the action being done to it. - - - - - - - - - - - - - - - - - - - - - - -
Active VoicePassive Voice
- {[ - { - p: "زه کتاب لیکم", - f: "zu kitáab leekúm", - e: "I (subject) am writing a book (object)", - }, - ]} - - {[ - { - p: "کتاب لیکل کېږي", - f: "kitáab leekul kéGee", - e: "A book (subject) is being written", - }, - ]} -
- {[ - { - p: "هغوي پښټو وايي", - f: "haghwée puxto waayee", - e: "They (subject) are speaking Pashto (object)", - }, - ]} - - {[ - { - p: "پښتو وایل کېږي", - f: "puxto waayul kéGee", - e: "Pashto (subject) is spoken", - }, - ]} -
- {[ - { - p: "ما ډوډۍ وخوړله", - f: "maa DoDúy óokhoRula", - e: "I (subject) ate food (object)", - } - ]} - - {[ - { - p: "ډوډۍ وخوړل شوه", - f: "DoDúy óokhoRul shwa", - e: "Food (subject) was eaten", - }, - ]} -
- -## How to make passive forms - -IN PROGRESS - -## Examples - -## Note on past tense \ No newline at end of file diff --git a/src/content/verbs/passive-voice.mdx b/src/content/verbs/passive-voice.mdx new file mode 100644 index 0000000..ede4258 --- /dev/null +++ b/src/content/verbs/passive-voice.mdx @@ -0,0 +1,358 @@ +--- +title: Passive Voice +--- + +import { + defaultTextOptions as opts, + Examples, + InlinePs, + RootsAndStems, + conjugateVerb, + getVerbInfo, + getPassiveRootsAndStems, +} from "@lingdocs/pashto-inflector"; +import { KidsSection, VP, KingIcon, ServantIcon } from "../../components/terms-links"; +import psmd from "../../lib/psmd"; +import Link from "../../components/Link"; +import Formula from "../../components/formula/Formula"; +import VideoPlayer from "../../components/VideoPlayer"; +import EditableVPEx, { EditIcon } from "../../components/phrase-diagram/EditableVPEx"; +export const leedulInfo = getVerbInfo({"ts":1527812275,"i":11623,"p":"لیدل","f":"leedul","g":"leedul","e":"to see","c":"v. trans.","psp":"وین","psf":"ween","tppp":"لید","tppf":"leed","ec":"see,sees,seeing,saw,seen"}); +export const passiveLeedulInfo = getPassiveRootsAndStems(leedulInfo); + + + +Transitive verbs in Pashto can be used in the [passive voice](https://en.wikipedia.org/wiki/Passive_voice). In the passive voice the object moves over to the role of the subject and the verb talks about the action being done to it. + + + + + + + + + + + + + + + + + + + + + + +
Active VoicePassive Voice
+ {[ + { + p: "زه کتاب لیکم", + f: "zu kitáab leekúm", + e: "I (subject) am writing a book (object)", + }, + ]} + + {[ + { + p: "کتاب لیکل کېږي", + f: "kitáab leekul kéGee", + e: "A book (subject) is being written", + }, + ]} +
+ {[ + { + p: "هغوي پښټو وايي", + f: "haghwée puxto waayee", + e: "They (subject) are speaking Pashto (object)", + }, + ]} + + {[ + { + p: "پښتو وایل کېږي", + f: "puxto waayul kéGee", + e: "Pashto (subject) is spoken", + }, + ]} +
+ {[ + { + p: "ما ډوډۍ وخوړله", + f: "maa DoDúy óokhoRula", + e: "I (subject) ate food (object)", + } + ]} + + {[ + { + p: "ډوډۍ وخوړل شوه", + f: "DoDúy óokhoRul shwa", + e: "Food (subject) was eaten", + }, + ]} +
+ +## Making passive roots and stems + +To make passive forms we will just need to change the 🌳 roots and stems of the verb. + +This can be done in two simple steps: 👨‍🍳 + +### 1. Copy the roots up to the stems + +First we need to take just the **long form** of the roots on the bottom, and copy those to use for the stems and the past participle. + +For example, with the verb we have roots and stems like this in the active voice: + + + +So let's use **just the long form of the roots** and also copy them to for the stems and the past participle... + + + +### 2. Add the helper verb کېدل - to become + +And then we take the roots and stems for + + + +And add that to our roots and stems we made in the previous step and we're done! + +
Passive Roots/Stems of
+ + + +There we go! Now we have all the roots and stems we need to make passive verb forms. + +## Using passive roots and stems + +Once we've made our passive roots and stems we can use them follow *the exact same verb formulas* to build all the same verb tenses, just in the passive voice. + +Let's try making different tenses with the passive roots and stems we just made for + +For example we know that to make the present tense we use the formula: + + + Imperfective Stem + Present Ending + + +So now we can use the *imperfective stem* of these passive roots and stems: + + + +and say something like: + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"presentVerb","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +We also know that for the subjunctive we use the formula: + + + Perfective Stem + Present Ending + + +So let's take our passive *perfective stem*: + + + +and say... + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"subjunctiveVerb","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +We could do this same process for the future tense, using the imperfective and perfective roots to make the imperfective future, + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"imperfectiveFuture","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +and the perfective future: + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"perfectiveFuture","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +Again, same thing for the past tense verbs. We know that the simple past is made with the formula: + + + Perfective root +{` `} + Past verb ending + + +So we can grab the *perfective root*: + + + +and make a phrase like, + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"perfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +Again, same thing for the past tense verbs. We know that the simple past is made with the formula: + + + Perfective root +{` `} + Past verb ending + + +So we take the *perfective root*: + + + +And we can say + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"perfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +**Important note:** With the passive voice, we don't have an object anymore, so these phrases will follow the phrase structure for intransitive verbs. + +The continuous past is made with the formula: + + + Imperfective root +{` `} + Past verb ending + + +So we can grab the *imperfective root*: + + + +and make a phrase like, + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"imperfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"basic","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +Also same thing for making perfect forms, just follow the same formula as we learned before. (Past participle + Equative) + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"imperfectivePast","perfectTense":"presentPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"perfect","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +{ + {"blocks":[{"key":0.519783070125974,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":0,"distance":"far"}}}},{"key":0.9491826191102801,"block":{"type":"objectSelection","selection":"none"}}],"verb":{"type":"verb","verb":{"entry":{"ts":1527812275,"i":11623,"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":"imperfectivePast","perfectTense":"pastPerfect","imperativeTense":"imperfectiveImperative","tenseCategory":"perfect","transitivity":"transitive","isCompound":false,"voice":"passive","negative":false,"canChangeTransitivity":true,"canChangeVoice":true,"canChangeStatDyn":false},"form":{"removeKing":false,"shrinkServant":false}} +} + +So we see that to make verb forms in the passive forms we follow all the same formulas as we did with the active voice, but just using these new passive roots and stems. + +### More examples + +IN PROGRESS \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index bf294f6..de7d066 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1803,10 +1803,10 @@ rambda "^6.7.0" react-select "^5.2.2" -"@lingdocs/pashto-inflector@^3.5.3": - version "3.5.3" - resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-3.5.3.tgz#3e07fe0c0d6bb12534e3580240acabd612f6f03f" - integrity sha512-aZc2Cm1MxGX7OkeiAB908sZjPCYf+cO2+0OGwDKFDauef6zsRxvj0qb/S5xu7E3jQN7Qdx6+g9nx2YV/YqIklA== +"@lingdocs/pashto-inflector@^3.5.4": + version "3.5.4" + resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-3.5.4.tgz#deb03eded12d432545953401aba8274ee07046cc" + integrity sha512-lCoidoOBjGjvtRPwnBy6UTE8Q50j1/ux/gXrXaxdfxi+URdxg2/EuDlHK3stgTM9kHPh91kfkVzjfY3aj+I23w== dependencies: "@formkit/auto-animate" "^1.0.0-beta.1" classnames "^2.2.6"