|
|
|
Parser
|
Simplify
|
Test BindingDict
|
|
|
|
Test Unify
|
|
|
|
Test Compile
|
|
|
Individual words:
|
Noun Quantification can only be done one way:
|
The first reading is achieved by combining 'chases' with 'a dog' first. Since 'a girl' requires something of the form '(h -o H)' we must get rid of the 'g' in the glue of 'see'. We will do this with the '-o elimination' rule. So, x1 will be our subject placeholder.
|
Now we can retract our subject placeholder using lambda-abstraction and combine with the true subject.
|
The second reading is achieved by combining 'every girl' with 'chases' first.
|
|
Premises
|
|
|
Compiled Premises:
|
Derivation:
|
|
|
|
|
|
|
Checking for equality of two DRSs is very useful when generating readings of a sentence. For example, the glue module generates two readings for the sentence John sees Mary:
|
However, it is easy to tell that these two readings are logically the same, and therefore one of them is superfluous. We can use the theorem prover to determine this equivalence, and then delete one of them. A particular theorem prover may be specified, or the argument may be left off to use the default.
|