ModErn Text Analysis
META Enumerates Textual Applications
|
Base class for featurizers that convert trees into features in a document. More...
#include <tree_featurizer.h>
Public Member Functions | |
virtual | ~tree_featurizer ()=default |
Destructor. | |
virtual void | tree_tokenize (corpus::document &doc, const parser::parse_tree &tree) const =0 |
Base class for featurizers that convert trees into features in a document.
|
pure virtual |
doc | The document to add feature counts to |
tree | The parse tree, belonging to doc, to extract features from |