nltk.sem.DrtExpression¶
- class nltk.sem.DrtExpression[source]¶
Bases:
object
This is the base abstract DRT Expression from which every DRT Expression extends.
- equiv(other, prover=None)[source]¶
Check for logical equivalence. Pass the expression (self <-> other) to the theorem prover. If the prover says it is valid, then the self and other are equal.
- Parameters
other – an
DrtExpression
to check equality againstprover – a
nltk.inference.api.Prover
- property type¶