diff --git a/src/components/KidsSectionIllustration.tsx b/src/components/BasicBlocks.tsx similarity index 54% rename from src/components/KidsSectionIllustration.tsx rename to src/components/BasicBlocks.tsx index 431f31d..a054aa8 100644 --- a/src/components/KidsSectionIllustration.tsx +++ b/src/components/BasicBlocks.tsx @@ -1,6 +1,7 @@ -function KidsSectionIllustration({ blocks, showKidsSection }: { - blocks: ("NP" | "AP" | "comp." | "verb" | "equative")[], +function BasicBlocks({ blocks, showKidsSection, large }: { + blocks: (string | { top?: string | JSX.Element, inside?: string | JSX.Element, bottom?: string | JSX.Element })[], showKidsSection?: boolean, + large?: boolean, }) { return
@@ -20,15 +21,21 @@ function KidsSectionIllustration({ blocks, showKidsSection }: {
} -
+
{blocks.map((block, i) => (
-
-
{block}
+
{typeof block === "object" ? block.top :
}
+
+ {(typeof block === "object" && block.inside) ? block.inside : ""} +
+
{typeof block === "object" ? block.bottom : block}
))}
@@ -36,4 +43,4 @@ function KidsSectionIllustration({ blocks, showKidsSection }: {
; } -export default KidsSectionIllustration; \ No newline at end of file +export default BasicBlocks; \ No newline at end of file diff --git a/src/components/EquativeIllustration.tsx b/src/components/EquativeIllustration.tsx new file mode 100644 index 0000000..d13165a --- /dev/null +++ b/src/components/EquativeIllustration.tsx @@ -0,0 +1,97 @@ +import { useState } from "react"; +import { + ButtonSelect, +} from "@lingdocs/pashto-inflector"; + +export function EquativeIllustration() { + const [choice, setChoice] = useState<"p" | "f" | "e">("f"); + return ( +
+
+ setChoice(p)} + /> +
+ {choice === "f" ? +
+
+
A
+
subject
+
zu
+
haghá
+
moonG
+
+
+
B
+
predicate
+
stuRey
+
dălta
+
zdakawóonkee
+
+
+
=
+
equative
+
yum.
+
dey.
+
yoo.
+
+
+ : choice === "p" ? +
+
+
ا
+
subject
+
زه
+
هغه
+
مونږ
+
+
+
ب
+
predicate
+
ستړی
+
دلته
+
زدکوونکي
+
+
+
=
+
equative
+
یم.
+
دی.
+
یو.
+
+
+ :
+
+
A
+
subject
+
I
+
He
+
We
+
+
+
=
+
equative
+
am
+
is
+
are
+
+
+
B
+
predicate
+
tired.
+
here.
+
students.
+
+
} +
+ ); +}; + +export default EquativeIllustration; + diff --git a/src/content/equatives/present-equative.mdx b/src/content/equatives/present-equative.mdx index e8106f0..40971c0 100644 --- a/src/content/equatives/present-equative.mdx +++ b/src/content/equatives/present-equative.mdx @@ -31,107 +31,6 @@ import { import GameDisplay from "../../games/GameDisplay"; import psmd from "../../lib/psmd"; -The [equative](https://en.wikipedia.org/wiki/Equative) might be the most basic way of joining words together. We use it to say that something *is/equals* something else. It's kind of like an equals "=" sign in math. - -
-
-
A
-
subject
-
I
-
He
-
We
-
-
-
=
-
equative
-
am
-
is
-
are
-
-
-
B
-
complement
-
tired.
-
here.
-
students.
-
-
- -But **in Pashto, the word order is different**. Here are those same three sentences, written in Pashto: - -export function EquativeIllustration({forms, opts}) { - const [choice, setChoice] = useState("f"); - return ( -
-
- setChoice(p)} - /> -
- {choice === "f" ? -
-
-
A
-
subject
-
zu
-
haghá
-
moonG
-
-
-
B
-
complement
-
stuRey
-
dălta
-
zdakawóonkee
-
-
-
=
-
equative
-
yum.
-
dey.
-
yoo.
-
-
- : -
-
-
ا
-
subject
-
زه
-
هغه
-
مونږ
-
-
-
ب
-
complement
-
ستړی
-
دلته
-
زدکوونکي
-
-
-
=
-
equative
-
یم.
-
دی.
-
یو.
-
-
- } -
- ); -}; - - - - - ## Present Equative Form Here are the **present equative endings** that you have to use depending on the subject. We use this **present equative** form when: diff --git a/src/content/index.ts b/src/content/index.ts index c8259f4..e5506ca 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -35,6 +35,8 @@ import * as NPIntro from "!babel-loader!@lingdocs/mdx-loader!./phrase-structure/ // @ts-ignore import * as APIntro from "!babel-loader!@lingdocs/mdx-loader!./phrase-structure/ap.mdx"; // @ts-ignore +import * as EPIntro from "!babel-loader!@lingdocs/mdx-loader!./phrase-structure/ep.mdx"; +// @ts-ignore import * as KidsSection from "!babel-loader!@lingdocs/mdx-loader!./phrase-structure/kids-section.mdx"; // @ts-ignore @@ -161,6 +163,10 @@ const contentTree = [ import: APIntro, slug: "ap", }, + { + import: EPIntro, + slug: "ep", + }, { import: KidsSection, slug: "kids-section", diff --git a/src/content/phrase-structure/ep.mdx b/src/content/phrase-structure/ep.mdx new file mode 100644 index 0000000..daaef81 --- /dev/null +++ b/src/content/phrase-structure/ep.mdx @@ -0,0 +1,98 @@ +--- +title: EPs +--- + +import { + defaultTextOptions as opts, + InlinePs, + Examples, + makeNounSelection, +} from "@lingdocs/pashto-inflector"; +import psmd from "../../lib/psmd"; +import Link from "../../components/Link"; +import EditablePhraseDiagram, { + EditIcon, +} from "../../components/phrase-diagram/EditablePhraseDiagram"; +import EquativeIllustration from "../../components/EquativeIllustration"; +import BasicBlocks from "../../components/BasicBlocks" + + +**There is no "to be" verb in Pashto**. 🤯 Let that sink in for a second. There's no infinitive "to be" form. You can't say "It's good *to be* here." We can't use "to be" as a verb and make normal verb phrases like we do in other language. + +In Pashto, we use a special structure called an **equative phrase (EP)** when we talk about something being something. + +Basically with an equative phrase we have three main parts: + +- **"A"** a subject (the thing we are talking about) +- **"B"** a predicate (what the thing *is*) +- **"="** an equative at the end to join them together + +Notice how the word order is different than it is in English. + + + +There are two ways to build an equative phrase: + +1. NP + Complement + Equative + + NP + NP + Equative + + EP complement to describe the subject NP. + +### What's an EP Complement? + +An **EP complement** is one of four things: + +- adjective +- location adverb +- sandwich +- complement noun + +Let's look at some examples using each of these kinds of complements. + +#### With an adjective + +An adjective is a word that describes what the subject is like. Notice that it will inflect to agree with the subject. + +EXAMPLES COMING... + +#### With a location adverb + +An adverb is a word that describes the location of the subject. Don't worry, it doesn't inflect. + +EXAMPLES COMING... + +#### With a sandwich + +#### With a complement noun + +## 2. NP + NP + +NPs, APs, or complements, with a verb or equative at the end. Here are some examples of what the phrases can look like. - - - - - + + + + + **After the first block** in a phrase comes a special place that we'll call the **kids' section**. - - - - - + + + + + In Pashto we have a bunch of little words that we will treat like little **children**. diff --git a/src/content/phrase-structure/np.mdx b/src/content/phrase-structure/np.mdx index b8f7fca..0331758 100644 --- a/src/content/phrase-structure/np.mdx +++ b/src/content/phrase-structure/np.mdx @@ -12,15 +12,15 @@ import Link from "../../components/Link"; import EditablePhraseDiagram, { EditIcon, } from "../../components/phrase-diagram/EditablePhraseDiagram"; -import KidsSectionIllustration from "../../components/KidsSectionIllustration"; +import BasicBlocks from "../../components/BasicBlocks"; Pashto phrases are built with a basic **building blocks** 🧱 like NPs, APs, verbs, and equatives. We can think of phrases in Pashto as a line of blocks like this: - + Or like this... - + In Pashto, it's important to know how these building blocks line up. But first, let's look at what these blocks actually are. In this chapter we'll look at the NP.