|
ModErn Text Analysis
META Enumerates Textual Applications
|
Tokenizes parse trees by extracting depth features. More...
#include <depth_featurizer.h>
Public Member Functions | |
| void | tree_tokenize (corpus::document &doc, const parser::parse_tree &tree) const override |
| Extracts the height of each parse tree. More... | |
Public Member Functions inherited from meta::util::multilevel_clonable< Root, Base, Derived > | |
| virtual std::unique_ptr< Root > | clone () const |
| Clones the given object. More... | |
Static Public Attributes | |
| static const std::string | id = "depth" |
| Identifier for this featurizer. | |
Tokenizes parse trees by extracting depth features.
|
override |
Extracts the height of each parse tree.
| doc | The document to parse |
| tree | The current parse_tree in the document |
1.8.9.1