Maps a parse tree to an iterator over its neighborhoods.
Different extractors will define "neighborhood" in different ways.
For instance, one might want to consider neighborhoods like:
- a node and its children
- a node and its parents
- a node and its breadcrumb
TODO: create unit tests for all inheriting instances.
Maps a parse tree to an iterator over its neighborhoods.
Different extractors will define "neighborhood" in different ways. For instance, one might want to consider neighborhoods like: - a node and its children - a node and its parents - a node and its breadcrumb
TODO: create unit tests for all inheriting instances.