diff --git a/.vscode/grammar-snippets.code-snippets b/.vscode/grammar-snippets.code-snippets new file mode 100644 index 0000000..6dc9354 --- /dev/null +++ b/.vscode/grammar-snippets.code-snippets @@ -0,0 +1,28 @@ +{ + "PS Sententce": { + "prefix": "pssentence", + "body": [ + "{", + "\tp: \"$1\",", + "\tf: \"$2\",", + "\te: \"$3\",", + "}" + ], + } + // Place your Code workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + // "Print to console": { + // "scope": "javascript,typescript", + // "prefix": "log", + // "body": [ + // "console.log('$1');", + // "$2" + // ], + // "description": "Log output to console" + // } +} \ No newline at end of file diff --git a/src/content/index.ts b/src/content/index.ts index fdd7d47..2ff0c71 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -49,6 +49,9 @@ import * as rootsAndStems from "!babel-loader!@lingdocs/mdx-loader!./verbs/roots // @ts-ignore import * as sentenceStructure from "!babel-loader!@lingdocs/mdx-loader!./verbs/sentence-structure.mdx"; +// @ts-ignore +import * as introToParticiples from "!babel-loader!@lingdocs/mdx-loader!./participles/intro.mdx"; + // @ts-ignore import * as pronounsBasic from "!babel-loader!@lingdocs/mdx-loader!./pronouns/pronouns-basic.mdx"; // @ts-ignore @@ -110,32 +113,6 @@ const contentTree = [ }, ], }, - // { - // heading: "Nouns", - // subdirectory: "nouns", - // chapters: [ - // { - // import: nounsGender, - // slug: "nouns-gender", - // }, - // { - // import: nounsUnisex, - // slug: "nouns-unisex", - // }, - // { - // import: nounsPlural, - // slug: "nouns-plural", - // }, - // { - // import: arabicPlurals, - // slug: "arabic-plurals", - // }, - // { - // import: bundledPlurals, - // sluge: "bundled-plurals", - // }, - // ], - // }, { heading: "Verbs", subdirectory: "verbs", @@ -178,6 +155,16 @@ const contentTree = [ }, ], }, + { + heading: "Participles", + subdirectory: "participles", + chapters: [ + { + import: introToParticiples, + slug: "intro", + }, + ], + }, { heading: "Pronouns", subdirectory: "pronouns", diff --git a/src/content/participles/intro.mdx b/src/content/participles/intro.mdx new file mode 100644 index 0000000..5deffac --- /dev/null +++ b/src/content/participles/intro.mdx @@ -0,0 +1,246 @@ +--- +title: Intro to Participles +--- +import { + defaultTextOptions as opts, + Examples, + InlinePs, +} from "@lingdocs/pashto-inflector"; +import Link from "../../components/Link"; +import participleMeme from "./participle-meme.jpg"; +import psmd from "../../lib/psmd"; + +Participles words that are **made from verbs** but **act as a noun or adjective**. + +
+ participle meme +
+ +There are 3 types of participles. + +1. Root/Infinitive +2. suffix +3. Past Participle + +## Root/Infinitive + +This is the easiest to make. It's just the imperfective root, which is the infinitive or "dictionary form" of a verb. For example, for the verb , it's... . That's right, it looks exactly the same, but when it's a participle it functions as a **3rd person plural noun** in the sentence. + +Here's an example where we use to describe *the activity or action* of writing. And, as with all these kind of participles, it functions as a **3rd person plural noun**. + +{psmd([ + { + p: "**لیکل** ښه دي", + f: "**leekul** xu dee", + e: "**Writing** is good", + }, +])} + +These kinds of participles are used like the "-ing" present particple in English, or like the "to be" infinitives in English. + +{psmd([ + { + p: "زه **لیکل** غواړم", + f: "zu **leekul** ghwaaRum", + e: "I want **to write**", + }, +])} + +### Inflecting the Root/Infinitive Participle + +Just like with other nouns, these participles will inflect when: + +1. They're in a sandwich +2. They're the subject of a past tense transitive verb + +And just like with other plural nouns, they are inflected by adding an on the end. + +#### 1. Inflecting in a sandwich + +{psmd([ + { + p: "**د لیکلو لپاره** څه نشته", + f: "**du leekulo lapaara** tsu nushta", + e: "There's nothing to write", + }, + { + p: "زه **د پاڅېدلو** توان نه لرم", + f: "zu **du patsedulo** twaan nu larum", + e: "I don't have the strength to get up", + } +])} + +#### 2. Inflecting as a subject of a past tense transitive verb + +Since these particples are nouns, they can also be the subject of a sentance. For example: + +{psmd([ + { + p: "**لیکل** ما ستړی کوي", + f: "**leekul** maa stuRey kawee.", + e: "Writing makes me tired", + sub: "subject of a present tense transitive verb (not inflected)" + }, + { + p: "**لیکلو** زه ستړی کړم", + f: "**leekulo** zu stuRey kRum", + e: "**Writing** made me tired", + sub: "subject of a past tense transitive verb (inflected)" + }, +])} + +## suffix + +This type of participle is formed by adding to the end of the short version of the imperfective root of a verb. + +### As an adjective + +This form can be used to transform verbs into adjectives. For example, from the verb , we can add the suffix and get the adjective . + +These "adjectives" will inflect just like any other adjectives ending with an unstressed . + +{psmd([ + { + p: "دا یوه **دردونکې** کیسه ده", + f: "daa yawa **dardawóonke** keesa da", + e: "That's a sad story", + sub: "(fem. sing.)" + }, + { + p: "دا یو **دردونکی** ناول دی", + f: "daa yo **dardawóonkey** naawul dey", + e: "That's a sad novel", + sub: "(masc. sing.)" + }, + { + p: "دا **دردونکي** ناولونه دي", + f: "daa **dardawóonkee** naawuloona dee", + e: "Those are sad novels", + sub: "(masc. plural.)" + }, +])} + +### As an agent noun + +This suffix can also be used to make verbs into agent nouns. This is like how in English we use "-er" or "-or" suffixes to make nouns like "worker", "player", "cutter", "gamer". + +export const agentNounExamples = [ + [ + { + p: "زده کول", + f: "zda kawul", + e: "to learn", + }, + { + p: "زده کوونکی", + f: "zda kawóonkey", + e: "student/learner", + }, + ], + [ + { + p: "ښوول", + f: "xowul", + e: "to teach", + }, + { + p: "ښووونکی", + f: "xowóonkey", + e: "teacher", + }, + ], + [ + { + p: "لیدل", + f: "leedul", + e: "to see", + }, + { + p: "لیدونکی", + f: "leedóonkey", + e: "viewer", + }, + ], + [ + { + p: "اورېدل", + f: "awredul", + e: "to hear", + }, + { + p: "اورېدونکی", + f: "awredoonkey", + e: "listener", + }, + ], +]; + + + + + + + + + + {agentNounExamples.map(a => ( + + + + + ))} + +
VerbAgent Noun
+ {a[0]} + + {a[1]} +
+ +Of course, these nouns will inflect just like any other nounse ending with an unstressed . + +{psmd([ + { + p: "**زده کوونکي** مکتب ته ځي", + f: "**zda kawoonkee** maktab to dzee", + e: "The **students (male)** are going to school", + }, + { + p: "**زده کوونکې** مکتب ته ځي", + f: "**zda kawoonke** maktab to dzee", + e: "The **students (female)** are going to school", + }, + { + p: "ګرانو **لیدونکو**، ستړي مه شئ", + f: "graano **leedóonko**, stuRee ma sheyy", + e: "Hello dear viewers", + }, +])} + +## Past Participle + + + +They work as an adjective... EXPLANATION COMING SOON. + +{psmd([ + { + p: "د موټړو په ښیښو **لیکې** خبرې", + f: "du moTur pu xeexo **leekúle** khabure", + e: "Words **written** on car windows", + }, + { + p: "کلاس په **ټاکلي** وخت کې پیل شو", + f: "klaas pu **Takúlee** wakht peyl sho", + e: "Class started at the **appointed** time", + }, + { + p: "**راغلي** خلک هلته ناست دي", + f: "**raaghúlee** khalk halta naast dee", + e: "The people **that came** are sitting there", + }, + { + p: "هغوي له **راغلو** خلکو سره مرسته کوي", + f: "haghwee la **raaghúlo** khalko sara mrasta kawee", + e: "They are helping the people that came.", + } +])} \ No newline at end of file diff --git a/src/content/participles/participle-meme.jpg b/src/content/participles/participle-meme.jpg new file mode 100644 index 0000000..abeb3c5 Binary files /dev/null and b/src/content/participles/participle-meme.jpg differ