Package nltk :: Package sem :: Module glue :: Class GlueFormula
[hide private]
[frames] | no frames]

type GlueFormula

source code

object --+
         |
        GlueFormula
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, meaning, glue, indices=None) source code
 
applyto(self, arg)
self = (\x.(walk x), (subj -o f)) arg = (john , subj) returns ((walk john), f)
source code
 
make_VariableExpression(self, name) source code
 
make_LambdaExpression(self, variable, term) source code
 
lambda_abstract(self, other) source code
 
compile(self, counter=None)
From Iddo Lev's PhD Dissertation p108-109
source code
 
simplify(self) source code
 
__eq__(self, other) source code
 
__str__(self) source code
 
__repr__(self) source code
Method Details [hide private]

__init__(self, meaning, glue, indices=None)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)