nltk.ccg.ForwardCombinator

class nltk.ccg.ForwardCombinator[source]

Bases: DirectedBinaryCombinator

Class representing combinators where the primary functor is on the left.

Takes an undirected combinator, and a predicate which adds constraints restricting the cases in which it may apply.

__init__(combinator, predicate, suffix='')[source]
can_combine(left, right)[source]
combine(left, right)[source]