nltk.parse.ProbabilisticNonprojectiveParser.best_incoming_arc

ProbabilisticNonprojectiveParser.best_incoming_arc(node_index)[source]

Returns the source of the best incoming arc to the node with address: node_index

Parameters:node_index (integer.) – The address of the ‘destination’ node,

the node that is arced to.