nltk.ProbabilisticDependencyGrammar

class nltk.ProbabilisticDependencyGrammar(productions, events, tags)[source]

Methods

__init__(productions, events, tags)
contains(head, mod) Return True if this DependencyGrammar contains a DependencyProduction mapping ‘head’ to ‘mod’.
unicode_repr() Return a concise string representation of the ProbabilisticDependencyGrammar