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

type DirectedBinaryCombinator

source code

object --+
         |
        DirectedBinaryCombinator
Known Subclasses:

Wrapper for the undirected binary combinator. It takes left and right categories, and decides which is to be the function, and which the argument. It then decides whether or not they can be combined.

Instance Methods [hide private]
 
can_combine(self, left, right) source code
 
combine(self, left, right) source code