org.allenai.nlpstack.parse.poly.polyparser
a label for this object
a histogram over observed neighborhoods
a transformation from neighborhoods to events
a transformation from neighborhoods to events
Computes a smoothed probability estimate of the given neighborhood's event.
a label for this object
a histogram over observed neighborhoods
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.
a label for this object
a histogram over observed neighborhoods
a transformation from neighborhoods to events