The .ccg file for this grammar fragment of Elvish can be found here:
:openccg:grammars:elvish.ccg.txt.
To use it, just remover the .txt extension from the end of the filename, making it elvish.ccg
Elvish (Quenya) is one of the numerous languages invented by JRR Tolkien. As it is an invented language, it is not plagued with a number of the idiosyncrasies that nearly all natural languages are prone to. However, despite the great amount of literature that Tolkien has left behind concerning his created languages, there are many unexplained linguistic phenomena that those in the “Elvish Community” must collectively decide upon. Some may accept these additions… some others -the purists- may not.
The real problem with Elvish is the limited lexicon. Many words that we would deem “common” do not find their way into Elvish. For example, when would an elf need to say “I drove my truck to the Black Gates of Mordor”
The semantics of verbs assign nominative case to the subjects, accusative to objects, and dative to recipients. This necessity is not reflected by this grammar, but will be evident once it is expanded to include pronouns.
There is one semantic distinction that is not represented in the actually Elvish language, but reflects the viewpoint of elves: orcs are given the creature class in the semantic ontology. Orcs are not quite people, as they are distorted and evil forms of elves, but nor are the animals. Thus the in-between class.
This grammar can parse intransitive, transitive and ditransitive sentences, as well as allowing for complement clauses and subject/object relativization.
It also tests for the agreement and morphological patterns as is addressed above.
The following sentences are correctly deemed grammatical:
The following sentences are correctly deemed ungrammatical: