A NeighborhoodTransform maps a Neighborhood into an "event" (a sequence of strings).
An example might help. Suppose that we have a neighborhood consisting of
(node, child1, child2), i.e. three nodes of a parse tree. A transform might map these
to the sequence of their POS tags, e.g. ("VERB", "NOUN", "NOUN").
A NeighborhoodTransform maps a Neighborhood into an "event" (a sequence of strings).
An example might help. Suppose that we have a neighborhood consisting of (node, child1, child2), i.e. three nodes of a parse tree. A transform might map these to the sequence of their POS tags, e.g. ("VERB", "NOUN", "NOUN").