configuration object for the parser
configuration object for the parser
Given an initial state, this returns the "best" sequence of Transitions that one should apply to the initial state in order to get a polytree parse.
Given an initial state, this returns the "best" sequence of Transitions that one should apply to the initial state in order to get a polytree parse. The adjective "best" depends on the specific implementation of the TransitionParser.
the sentence you want to parse
a set of ParserConstraint objects, which constrain the choices the parser may make
the "best" list of Transitions you should apply to the initial state (or None if a parse failure occurs)
Uses the parser model to create an n-best list, then chooses the best parse from this n-best list (according to the reranking function).
configuration object for the parser