Package nltk :: Package sem :: Module drt
[hide private]
[frames] | no frames]

Module drt

source code

Classes [hide private]
DrtTokens
AbstractDrs
This is the base abstract DRT Expression from which every DRT Expression extends.
DRS
A Discourse Representation Structure.
DrtAbstractVariableExpression
DrtIndividualVariableExpression
DrtFunctionVariableExpression
DrtEventVariableExpression
DrtConstantExpression
DrtProposition
DrtNegatedExpression
DrtLambdaExpression
DrtBinaryExpression
DrtBooleanExpression
DrtOrExpression
DrtEqualityExpression
DrtConcatenation
DRS of the form '(DRS + DRS)'
DrtApplicationExpression
PossibleAntecedents
AnaphoraResolutionException
DrsDrawer
DrtParser
A lambda calculus expression parser.
Functions [hide private]
 
DrtVariableExpression(variable)
This is a factory method that instantiates and returns a subtype of DrtAbstractVariableExpression appropriate for the given variable.
source code
 
resolve_anaphora(expression, trail=[]) source code
 
demo() source code
 
test_draw() source code
Variables [hide private]
  APP = 'APP'