nltk.DependencyGrammar.__init__

DependencyGrammar.__init__(productions)[source]

Create a new dependency grammar, from the set of Productions.

Parameters:productions (list(Production)) – The list of productions that defines the grammar