add phonetics example

This commit is contained in:
adueck 2023-03-28 15:28:13 +04:00
parent 8d9c0998a3
commit 237e5b8d86
2 changed files with 28 additions and 2 deletions

View File

@ -32,7 +32,6 @@
<meta name="twitter:card" content="summary_large_image">
<meta name="robots" content="index, follow" />
<title>LingDocs Pashto Grammar</title>
</head>
<body>

View File

@ -4,18 +4,45 @@ title: Phonetics
import PhoneticsViewer from "../../components/phonetics/PhoneticsViewer";
import Link from "../../components/Link";
import { translatePhonetics } from "@lingdocs/ps-react";
export const exText = {
p: "دا خو ډېره ښه خبره ده چې ټول په پښتو کې لیکلی شي.",
f: "daa kho Dera xa khabura da che Tol pu puxto ke leekuley shee",
};
Although Pashto is written using the Arabic script, it is often written with latin-based phonetics in dictionaries or other places to show more information about how to pronounce the vowels of the word, or to show where the emphasis of the word is placed.
## LingDocs Pashto Phonetics
There have been many of different systems or conventions for writing Pashto in phonetics script. Below is a system used in this grammar and with the <Link to="https://dictionary.lingdocs.com">LingDocs Pashto Dictionary</Link>.
There have been many of different systems or conventions for writing Pashto in phonetics script. Below is a system used in this grammar and with the <Link to="https://dictionary.lingdocs.com">LingDocs Pashto Dictionary</Link>.
### Example Text
##### In Pashto
<p dir="rtl">
{exText.p}
</p>
##### In LingDocs Pashto Phonetics
<p>{exText.f}</p>
##### In IPA
<p>{translatePhonetics(exText.f, {
system: "ipa",
dialect: "standard",
})}</p>
A couple of things to note about this system:
- There are **no special symbols** required so you can type it with a regular keyboard.
- The spelling is **case-sensitive**. Retroflex consonants (D, T, R, N) and one other vowel (U) are always written with capital letters - ie. D (ډ) is different than d (د).
### LingDocs Phonetic System
<PhoneticsViewer />
### Accent / emphasis