You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
876 B
Python

5 years ago
# Natural Language Toolkit: Combinatory Categorial Grammar
#
# Copyright (C) 2001-2020 NLTK Project
5 years ago
# Author: Graeme Gange <ggange@csse.unimelb.edu.au>
# URL: <http://nltk.org/>
# For license information, see LICENSE.TXT
"""
Combinatory Categorial Grammar.
For more information see nltk/doc/contrib/ccg/ccg.pdf
"""
from nltk.ccg.combinator import (
UndirectedBinaryCombinator,
DirectedBinaryCombinator,
ForwardCombinator,
BackwardCombinator,
UndirectedFunctionApplication,
ForwardApplication,
BackwardApplication,
UndirectedComposition,
ForwardComposition,
BackwardComposition,
BackwardBx,
UndirectedSubstitution,
ForwardSubstitution,
BackwardSx,
UndirectedTypeRaise,
ForwardT,
BackwardT,
)
from nltk.ccg.chart import CCGEdge, CCGLeafEdge, CCGChartParser, CCGChart
from nltk.ccg.lexicon import CCGLexicon