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

Module combinator

source code

Classes [hide private]
UndirectedBinaryCombinator
Abstract class for representing a binary combinator.
DirectedBinaryCombinator
Wrapper for the undirected binary combinator.
ForwardCombinator
Class representing combinators where the primary functor is on the left.
BackwardCombinator
The backward equivalent of the ForwardCombinator class.
UndirectedFunctionApplication
Class representing function application.
UndirectedComposition
Functional composition (harmonic) combinator.
UndirectedSubstitution
Substitution (permutation) combinator.
UndirectedTypeRaise
Undirected combinator for type raising.
Functions [hide private]
 
forwardOnly(left, right) source code
 
backwardOnly(left, right) source code
 
bothForward(left, right) source code
 
bothBackward(left, right) source code
 
crossedDirs(left, right) source code
 
backwardBxConstraint(left, right) source code
 
forwardSConstraint(left, right) source code
 
backwardSxConstraint(left, right) source code
 
innermostFunction(categ) source code
 
forwardTConstraint(left, right) source code
 
backwardTConstraint(left, right) source code
Variables [hide private]
  ForwardApplication = ForwardCombinator(UndirectedFunctionAppli...
  BackwardApplication = BackwardCombinator(UndirectedFunctionApp...
  ForwardComposition = ForwardCombinator(UndirectedComposition()...
  BackwardComposition = BackwardCombinator(UndirectedComposition...
  BackwardBx = BackwardCombinator(UndirectedComposition(), backw...
  ForwardSubstitution = ForwardCombinator(UndirectedSubstitution...
  BackwardSx = BackwardCombinator(UndirectedSubstitution(), back...
  ForwardT = ForwardCombinator(UndirectedTypeRaise(), forwardTCo...
  BackwardT = BackwardCombinator(UndirectedTypeRaise(), backward...
Variables Details [hide private]

ForwardApplication

Value:
ForwardCombinator(UndirectedFunctionApplication(), forwardOnly)

BackwardApplication

Value:
BackwardCombinator(UndirectedFunctionApplication(), backwardOnly)

ForwardComposition

Value:
ForwardCombinator(UndirectedComposition(), forwardOnly)

BackwardComposition

Value:
BackwardCombinator(UndirectedComposition(), backwardOnly)

BackwardBx

Value:
BackwardCombinator(UndirectedComposition(), backwardBxConstraint, suff\
ix= 'x')

ForwardSubstitution

Value:
ForwardCombinator(UndirectedSubstitution(), forwardSConstraint)

BackwardSx

Value:
BackwardCombinator(UndirectedSubstitution(), backwardSxConstraint, 'x'\
)

ForwardT

Value:
ForwardCombinator(UndirectedTypeRaise(), forwardTConstraint)

BackwardT

Value:
BackwardCombinator(UndirectedTypeRaise(), backwardTConstraint)