From 4562df34dd84dfb33ffd5ddc3336a7b6da5311ac Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Fri, 9 Apr 2021 11:53:17 +0300 Subject: [PATCH] nouns and gender --- package.json | 2 +- src/content/index.js | 12 ++ src/content/nouns/nouns-gender.mdx | 216 +++++++++++++++++++++++++++++ yarn.lock | 2 +- 4 files changed, 230 insertions(+), 2 deletions(-) create mode 100644 src/content/nouns/nouns-gender.mdx diff --git a/package.json b/package.json index 9b5b2fb..c9c9107 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@fortawesome/fontawesome-free": "^5.15.2", - "@lingdocs/pashto-inflector": "^0.3.3", + "@lingdocs/pashto-inflector": "^0.3.5", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", diff --git a/src/content/index.js b/src/content/index.js index 6d381bd..6df37c8 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -13,6 +13,8 @@ import * as presentEquative from "!babel-loader!mdx-loader!./equatives/present-e import * as subjunctiveHabitualEquative from "!babel-loader!mdx-loader!./equatives/subjunctive-habitual-equative.mdx"; import * as otherEquatives from "!babel-loader!mdx-loader!./equatives/other-equatives.mdx"; +import * as nounsGender from "!babel-loader!mdx-loader!./nouns/nouns-gender.mdx"; + import * as verbEndings from "!babel-loader!mdx-loader!./verbs/verb-endings.mdx"; import * as rootsAndStems from "!babel-loader!mdx-loader!./verbs/roots-and-stems.mdx"; import * as sentenceStructure from "!babel-loader!mdx-loader!./verbs/sentence-structure.mdx"; @@ -45,6 +47,16 @@ const contentTree = [ }, ], }, + { + heading: "Nouns", + subdirectory: "nouns", + chapters: [ + { + import: nounsGender, + slug: "nouns-gender", + }, + ], + }, { heading: "Verbs", subdirectory: "verbs", diff --git a/src/content/nouns/nouns-gender.mdx b/src/content/nouns/nouns-gender.mdx new file mode 100644 index 0000000..74c137e --- /dev/null +++ b/src/content/nouns/nouns-gender.mdx @@ -0,0 +1,216 @@ +--- +title: Nouns and Gender +--- + +import { + defaultTextOptions as opts, + InlinePs, + Examples, +} from "@lingdocs/pashto-inflector"; +export const femColor = "#FFECEF" +export const mascColor = "#C1D5F4"; + +export const Masc = () => ( + masculine +); + +export const Fem = () => ( + feminine +); + +All nouns in Pashto are either or . Thankfully, you can pretty much always tell the gender of a word by its ending. + +## Gender by Ending + +Basically: + + - if a noun ends in a *consonant* (including ی - y at the end), it's + - if a noun ends in a *vowel*, it's + +Well... almost. 😉 There are a few exceptions and it's a little more complicated than that. + +export function GenderTable({ rows }) { + return + + + + + + + + {rows.map((row, i) => ( + + {["masc", "fem"].map((gender) => { + const item = row[gender]; + return + })} + + ))} + +
MasculineFeminine
+ {item.ending &&
+ {typeof item.ending === "string" ? item.ending + : {item.ending}} +
} +
+ {item.ending ? "eg. " : ""}{item.ex} +
+
; +} + + + +Words ending in can be either or . + +Words ending in can also be plural, as in + +## Exceptions + +### Feminine words that lost their + +Some words have had their 's on the end chopped off. This makes them look like masculine nouns, but actually the do behave (and get inflected) just like other feminine nouns. + +For example, the word ends in a consanant, but it's feminine. 🤔 Why? It's just that the on the end is usually left out. For the singular/plain form the word, you will hear people say either or , sometimes with or without the on the end. But regardless, the word is always considered , and it inflects just like any other feminine word ending with an . (eg. ) + +Here are a few other words that have lost their ending: + +- +- +- + +### Words for people + +Some words are used to describe people who obviously have a gender and they *totally break or ignore the rules we saw above*. For example: + + + +But many other words for people will change and follow the rules for their masculine and feminine forms... + + diff --git a/yarn.lock b/yarn.lock index 7a72d9c..1e57ea7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1504,7 +1504,7 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@lingdocs/pashto-inflector@^0.3.3": +"@lingdocs/pashto-inflector@^0.3.5": version "0.3.5" resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-0.3.5.tgz#c6e99e807d38addf61aed93997c95eafde6bb2ab" integrity sha512-m8IzUE+gxLcI/Cyu7iLEx+R65juaHmztJFMtsAP33mfyOseBq0ZTD8xC9CjRz/n8PvIPFcy+lpYrTcaBd0cPvQ==