org.allenai.nlpstack.parse.poly.reranking
provides a stream of neighborhoods
a transformation from neighborhoods to events
a transformation from neighborhoods to events
provides a stream of neighborhoods
The total number of observed (non-unique) neighborhood events.
The total number of singleton (observed only once) neighborhood events.
The total number of unique neighborhood events.
Collects statistics over "neighborhood events."
An example might help. A neighborhood is a collection of tokens, e.g. a node and its children in a dependency parse. A neighborhood event is a mapping of these tokens to a sequence of strings, e.g. we might map each token to its part-of-speech tag.
Given a corpus of dependency parses, we might want to collect a histogram that tells us how many times each neighborhood event like (VERB, NOUN, NOUN) occurs in the corpus. This is what the NeighborhoodEventStatistic does.
provides a stream of neighborhoods
a transformation from neighborhoods to events