Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend chomsky to handle grammatical case #5

Open
adrianossi opened this issue Mar 27, 2017 · 0 comments
Open

Extend chomsky to handle grammatical case #5

adrianossi opened this issue Mar 27, 2017 · 0 comments

Comments

@adrianossi
Copy link

In some languages (e.g. German), nouns are inflected based on three characteristics: number, gender, and case. We should expand chomsky to handle all three characteristics. This should also include the inflection of words that depend on the inflected word (e.g. adjectives).

Example phrase:
"for this customer"

Uninflected (and gramatically incorrect) German translation:
"für diese Kunde"

"Für" takes a noun in the accusative case. "Kunden" is the accusative singular form of Kunde (a masculine noun). Also, in this phrase "diese" depends on Kunde and must agree in gender, number, and case (here singular, masculine, accusative).

Inflected, correct translation:
"für diesen Kunden"

The complexity is easiest to summarize via the declension of the adjective:
https://en.wiktionary.org/wiki/diese

Note that in German the plural forms are identical for all genders, but are still inflected based on case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant