bundled plurals

This commit is contained in:
lingdocs 2021-04-10 17:37:04 +03:00
parent 46b3b690d4
commit 70b88a67cd
4 changed files with 61 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import * as otherEquatives from "!babel-loader!mdx-loader!./equatives/other-equa
import * as nounsGender from "!babel-loader!mdx-loader!./nouns/nouns-gender.mdx"; import * as nounsGender from "!babel-loader!mdx-loader!./nouns/nouns-gender.mdx";
import * as nounsPlural from "!babel-loader!mdx-loader!./nouns/nouns-plural.mdx"; import * as nounsPlural from "!babel-loader!mdx-loader!./nouns/nouns-plural.mdx";
import * as arabicPlurals from "!babel-loader!mdx-loader!./nouns/arabic-plurals.mdx"; import * as arabicPlurals from "!babel-loader!mdx-loader!./nouns/arabic-plurals.mdx";
import * as bundledPlurals from "!babel-loader!mdx-loader!./nouns/bundled-plurals.mdx";
import * as verbEndings from "!babel-loader!mdx-loader!./verbs/verb-endings.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 rootsAndStems from "!babel-loader!mdx-loader!./verbs/roots-and-stems.mdx";
@ -65,6 +66,10 @@ const contentTree = [
import: arabicPlurals, import: arabicPlurals,
slug: "arabic-plurals", slug: "arabic-plurals",
}, },
{
import: bundledPlurals,
sluge: "bundled-plurals",
},
], ],
}, },
{ {

View File

@ -0,0 +1,42 @@
---
title: Bundled Plurals
---
import {
Examples,
InlinePs,
defaultTextOptions as opts,
} from "@lingdocs/pashto-inflector";
import Table from "../../components/Table";
import penBundle from "../../images/pen-bundle.jpg";
export function BundledPluralTable({ children, inflection }) {
return (
<Table headRow={["singular", "bundled plural"]} opts={opts}>
{children}
</Table>
);
}
For many nouns ending in a consonant, we can make a special kind of **"bundled plural"** to show that the things are closely lumped together.
<div className="mx-auto" style={{ maxWidth: "300px" }}>
<img src={penBundle} className="img-fluid" />
</div>
To make this "bundled plural" we add a <InlinePs opts={opts} ps={{ p: "ـه", f: "-a" }} /> on the end of the noun.
<BundledPluralTable>{[
[
{ p: "کال", f: "kaal", e: "year" },
{ p: "کاله", f: "kaala", e: "years" },
],
[
{ p: "کس", f: "kas", e: "person" },
{ p: "کسه", f: "kasa", e: "people" },
],
[
{ p: "کرت", f: "karat", e: "time" },
{ p: "کرته", f: "karata", e: "times" },
]
]}</BundledPluralTable>

View File

@ -113,3 +113,17 @@ Some nouns just have completely irregular plural forms.
[{p:"یور", f:"yor", e:"wife of a husbands' brother"},{p:"یوڼې", f:"yooNe", e:"wives of a husband's brother"}], [{p:"یور", f:"yor", e:"wife of a husbands' brother"},{p:"یوڼې", f:"yooNe", e:"wives of a husband's brother"}],
[{p:"نږور", f:"nGor", e:"daughter-in-law"},{p:"نږیندې", f:"nGeynde", e:"daughter-in-laws"}], [{p:"نږور", f:"nGor", e:"daughter-in-law"},{p:"نږیندې", f:"nGeynde", e:"daughter-in-laws"}],
]}</PluralTable> ]}</PluralTable>
## Collective Plurals
Some nouns are just always considered plural, often because they are made up of a bunch of individual pieces.
<Examples opts={opts}>{[
{ p: "خلک", f: "khalk", e: "people/populace (m. pl.)" },
{ p: "اوړه", f: "ooRú", e: "flour (m. pl.)" },
{ p: "برنج", f: "birínj", e: "rice (m. pl.)" },
{ p: "اوبه", f: "oobú", e: "water (f. pl.)" },
{ p: "جوار", f: "jawáar", e: "corn (m. pl.)" },
{ p: "زهر", f: "zahur", e: "poison (m. pl.)" },
{ p: "سامان", f: "saamáan", e: "stuff, things (m. pl.)" },
]}</Examples>

BIN
src/images/pen-bundle.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB