org.allenai.nlpstack.parse.poly.reranking
Extracts neighborhood (parent_k, token), where parent_k is the kth parent of the input token.
If the input token does not have a kth parent, the apply operation will return the empty sequence.
Extracts neighborhood (parent_k, token), where parent_k is the kth parent of the input token.
If the input token does not have a kth parent, the apply operation will return the empty sequence.