Skip to content

Commit 290c453

Browse files
committed
minimal pairs game
1 parent acafc4f commit 290c453

File tree

7 files changed

+443
-171
lines changed

7 files changed

+443
-171
lines changed

src/content/writing/MinimalPairs.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function MinimalPairs({
1717
return (
1818
<div>
1919
<h5 className="my-3" onClick={() => setOpened((x) => !x)}>
20-
{opened ? "▼" : "▶"} View Pairs
20+
{opened ? "▼" : "▶"} Browse Pairs
2121
</h5>
2222
<SmoothCollapse expanded={opened}>
2323
{section.pairs.map((pairs, i) => (
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const minimalPairsSection = [
2+
"t and T",
3+
"d and D",
4+
"r and R",
5+
"n and N",
6+
"a and aa",
7+
"ay and uy",
8+
"ay and e",
9+
"ee and e",
10+
] as const;
11+
export type MinimalPairsSection = (typeof minimalPairsSection)[number];

src/content/writing/minimal-pairs.mdx

+28-1
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,23 @@ import psmd from "../../lib/psmd";
1111
import Link from "../../components/Link";
1212
import MinimalPairs from "./MinimalPairs.tsx";
1313
import minimalPairs from "./minimal-pairs.ts";
14+
import {
15+
minimalPairsT,
16+
minimalPairsD,
17+
minimalPairsR,
18+
minimalPairsN,
19+
minimalPairsAa,
20+
minimalPairsAyUy,
21+
minimalPairsAyE,
22+
minimalPairsEeE,
23+
} from "../../games/games";
24+
import GameDisplay from "../../games/GameDisplay";
1425

1526
There are certain sounds in Pashto that are quite difficult for some learners to distinguish.
1627

1728
For example, English speakers have a very hard time hearing the difference between the dental <InlinePs opts={opts} ps={{ p: "ت", f: "t" }}/> and retroflex <InlinePs opts={opts} ps={{ p: "ټ", f: "T" }}/>. Some of the vowels like <InlinePs opts={opts} ps={{ p: "ي", f: "ee" }}/> and <InlinePs opts={opts} ps={{ p: "ې", f: "e" }}/> can also be very tricky to distinguish.
1829

19-
Here are some examples of words that vary by these different sounds. Listen to them to train your ear to the difference, and then use the games to see if you can hear the difference yourself. (Games coming soon! 🚧)
30+
Here are some examples of words that vary by these different sounds. Listen to them to train your ear to the difference, and then use the games to see if you can hear the difference yourself.
2031

2132
## ت - t and ټ - T
2233

@@ -25,51 +36,67 @@ Here are some examples of words that vary by these different sounds. Listen to t
2536
section={minimalPairs.find((x) => x.title === "t and T")}
2637
/>
2738

39+
<GameDisplay record={minimalPairsT} />
40+
2841
## د - d and ډ - D
2942

3043
<MinimalPairs
3144
opts={opts}
3245
section={minimalPairs.find((x) => x.title === "d and D")}
3346
/>
3447

48+
<GameDisplay record={minimalPairsD} />
49+
3550
## ر - r and ړ - R
3651

3752
<MinimalPairs
3853
opts={opts}
3954
section={minimalPairs.find((x) => x.title === "r and R")}
4055
/>
4156

57+
<GameDisplay record={minimalPairsR} />
58+
4259
## ن - n and ڼ - N
4360

4461
<MinimalPairs
4562
opts={opts}
4663
section={minimalPairs.find((x) => x.title === "n and N")}
4764
/>
4865

66+
<GameDisplay record={minimalPairsN} />
67+
4968
## ه - a and ا - aa
5069

5170
<MinimalPairs
5271
opts={opts}
5372
section={minimalPairs.find((x) => x.title === "a and aa")}
5473
/>
5574

75+
<GameDisplay record={minimalPairsAa} />
76+
5677
## ی - ay and ۍ - uy
5778

5879
<MinimalPairs
5980
opts={opts}
6081
section={minimalPairs.find((x) => x.title === "ay and uy")}
6182
/>
6283

84+
<GameDisplay record={minimalPairsAyUy} />
85+
6386
## ی - ay and ې - e
6487

6588
<MinimalPairs
6689
opts={opts}
6790
section={minimalPairs.find((x) => x.title === "ay and e")}
6891
/>
6992

93+
<GameDisplay record={minimalPairsAyE} />
94+
7095
## ي - ee and ې - e
7196

7297
<MinimalPairs
7398
opts={opts}
7499
section={minimalPairs.find((x) => x.title === "ee and e")}
75100
/>
101+
102+
<GameDisplay record={minimalPairsEeE} />

0 commit comments

Comments
 (0)