Package nltk :: Package ccg :: Module combinator :: Class UndirectedSubstitution
[hide private]
[frames] | no frames]

type UndirectedSubstitution

source code

                object --+    
                         |    
UndirectedBinaryCombinator --+
                             |
                            UndirectedSubstitution

Substitution (permutation) combinator. Implements rules of the form Y/Z (X\Y)/Z -> X/Z (<Sx) And other variations.

Instance Methods [hide private]
 
can_combine(self, function, argument) source code
 
combine(self, function, argument) source code
 
__str__(self) source code
Method Details [hide private]

can_combine(self, function, argument)

source code 
Overrides: UndirectedBinaryCombinator.can_combine

combine(self, function, argument)

source code 
Overrides: UndirectedBinaryCombinator.combine

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)