note about inflecting adverbs
This commit is contained in:
parent
1d3c3f71e4
commit
a1292ec2a1
|
@ -7,7 +7,7 @@
|
||||||
"@formkit/auto-animate": "^1.0.0-beta.1",
|
"@formkit/auto-animate": "^1.0.0-beta.1",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
"@lingdocs/lingdocs-main": "^0.3.3",
|
"@lingdocs/lingdocs-main": "^0.3.3",
|
||||||
"@lingdocs/ps-react": "^5.1.1",
|
"@lingdocs/ps-react": "^5.1.4",
|
||||||
"@testing-library/jest-dom": "^5.11.4",
|
"@testing-library/jest-dom": "^5.11.4",
|
||||||
"@testing-library/react": "^11.1.0",
|
"@testing-library/react": "^11.1.0",
|
||||||
"@testing-library/user-event": "^12.1.10",
|
"@testing-library/user-event": "^12.1.10",
|
||||||
|
|
|
@ -13,7 +13,7 @@ function BlockDiagram({ opts, children }: {
|
||||||
}) {
|
}) {
|
||||||
try {
|
try {
|
||||||
const rendered = children.type === "AP"
|
const rendered = children.type === "AP"
|
||||||
? renderAPSelection(children)
|
? renderAPSelection(children, 0)
|
||||||
: renderNPSelection(children, false, false, "subject", "none", false);
|
: renderNPSelection(children, false, false, "subject", "none", false);
|
||||||
const english = getEnglishFromRendered(rendered);
|
const english = getEnglishFromRendered(rendered);
|
||||||
return <div className="mb-3">
|
return <div className="mb-3">
|
||||||
|
|
|
@ -13,6 +13,9 @@ import Link from "../../components/Link";
|
||||||
import EditableBlock, {
|
import EditableBlock, {
|
||||||
EditIcon,
|
EditIcon,
|
||||||
} from "../../components/phrase-diagram/EditableBlock";
|
} from "../../components/phrase-diagram/EditableBlock";
|
||||||
|
import EditableVPEx from "../../components/phrase-diagram/EditableVPEx";
|
||||||
|
import EditableEPEx from "../../components/phrase-diagram/EditableEPEx";
|
||||||
|
import { EP, VP } from "../../components/terms-links.tsx";
|
||||||
|
|
||||||
Another building block we have in Pashto phrases in the **AP (Adverb Phrase)**. Adverb Phrases are used to give more information about the phrase in terms of time, manner, place, degree, etc.
|
Another building block we have in Pashto phrases in the **AP (Adverb Phrase)**. Adverb Phrases are used to give more information about the phrase in terms of time, manner, place, degree, etc.
|
||||||
|
|
||||||
|
@ -45,6 +48,22 @@ An adverb is a word or expression that modifies the time, manner, place, etc. of
|
||||||
}
|
}
|
||||||
}</EditableBlock>
|
}</EditableBlock>
|
||||||
|
|
||||||
|
#### Note on inflecting adverbs
|
||||||
|
|
||||||
|
Adverbs don't normally inflect, but they *will inflect* if they are words that can also be used as an adjective.
|
||||||
|
|
||||||
|
Notice how the adverb <InlinePs opts={opts} ps={{ p: "ستړی", f: "stúRey", e: "tired" }} /> inflects depending on who is sitting in this example:
|
||||||
|
|
||||||
|
<EditableEPEx opts={opts} hideOmitSubject>{
|
||||||
|
{"blocks":[{"key":0.23089213205851067,"block":{"type":"subjectSelection","selection":{"type":"NP","selection":{"type":"pronoun","person":3,"distance":"far"}}}},{"key":0.3252190155472441,"block":{"type":"AP","selection":{"type":"adverb","entry":{"ts":1527812558,"i":6352,"p":"دلته","f":"dălta","g":"dalta","e":"here","c":"loc. adv."}}}},{"key":0.015377073636430039,"block":{"type":"AP","selection":{"type":"adverb","entry":{"ts":1527815306,"i":7722,"p":"ستړی","f":"stúRey","g":"stuRey","e":"tired","c":"adj. / adv."}}}}],"predicate":{"type":"Complement","Complement":{"type":"complement","selection":{"type":"adjective","entry":{"ts":1527815106,"i":13461,"p":"ناست","f":"naast","g":"naast","e":"sitting, seated","c":"adj."}}}},"equative":{"tense":"present","negative":false},"omitSubject":false}
|
||||||
|
}</EditableEPEx>
|
||||||
|
|
||||||
|
When an adverb can also be used as an adjective it will inflect to agree with:
|
||||||
|
- With <EP text="EPs" />: the subject
|
||||||
|
- With <VP text="VPs" />: the object, or if there's no object NP, the subject
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Sandwich 🥪
|
### Sandwich 🥪
|
||||||
|
|
||||||
In English we have have [prepositions](https://en.wikipedia.org/wiki/Preposition_and_postposition) like "with", "at", "towards", "under" that we put *in front* of nouns. Other langagues have [prepositions](https://en.wikipedia.org/wiki/Preposition_and_postposition) that you add to the *end* of nouns. In Pashto we have [adpostions](https://en.wikipedia.org/wiki/Preposition_and_postposition), which are little sets of words that go *in front and behind* nouns. Sometimes they only go on one side, and sometimes they surround the word on both sides. Because of this we'll call them **sandwiches**.
|
In English we have have [prepositions](https://en.wikipedia.org/wiki/Preposition_and_postposition) like "with", "at", "towards", "under" that we put *in front* of nouns. Other langagues have [prepositions](https://en.wikipedia.org/wiki/Preposition_and_postposition) that you add to the *end* of nouns. In Pashto we have [adpostions](https://en.wikipedia.org/wiki/Preposition_and_postposition), which are little sets of words that go *in front and behind* nouns. Sometimes they only go on one side, and sometimes they surround the word on both sides. Because of this we'll call them **sandwiches**.
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1943,10 +1943,10 @@
|
||||||
rambda "^6.7.0"
|
rambda "^6.7.0"
|
||||||
react-select "^5.2.2"
|
react-select "^5.2.2"
|
||||||
|
|
||||||
"@lingdocs/ps-react@^5.1.1":
|
"@lingdocs/ps-react@^5.1.4":
|
||||||
version "5.1.1"
|
version "5.1.4"
|
||||||
resolved "https://npm.lingdocs.com/@lingdocs%2fps-react/-/ps-react-5.1.1.tgz#b3dbaf630e85458029962bd20241b53d32f9efb8"
|
resolved "https://npm.lingdocs.com/@lingdocs%2fps-react/-/ps-react-5.1.4.tgz#86a1bd9f968d72787c7bc1e1bdc0f58395a85f67"
|
||||||
integrity sha512-Ng3TCyv/kN389GiWx69d3iv7D4l6zjYNz6DDwKRDJddq8C+J6qlfqnIe+iEMu8qJ1hlcVNKxJ/sNTeCIK8CFog==
|
integrity sha512-HPckcrYBf/6MCnhAP6LGwEs4efrHE4qyfyqbabxvaUsqsBKlZaP7eFkoKLJ2HArwzt/U+OH4r36KpGsyclpUuQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@formkit/auto-animate" "^1.0.0-beta.3"
|
"@formkit/auto-animate" "^1.0.0-beta.3"
|
||||||
classnames "^2.2.6"
|
classnames "^2.2.6"
|
||||||
|
|
Loading…
Reference in New Issue