'Creates a new ``NonprojectiveDependencyParser``.
:param dependency_grammar: a grammar of word-to-word relations.
:type dependency_grammar: DependencyGrammar'

def __init__(self, dependency_grammar):

    self._grammar = dependency_grammar
