ModErn Text Analysis
META Enumerates Textual Applications
Public Member Functions | Static Public Attributes | List of all members
meta::analyzers::semi_skeleton_featurizer Class Reference

Tokenizes parse trees by keeping track of only a single node label and the underlying tree structure. More...

#include <semi_skeleton_featurizer.h>

Inheritance diagram for meta::analyzers::semi_skeleton_featurizer:
meta::util::multilevel_clonable< Root, Base, Derived >

Public Member Functions

void tree_tokenize (corpus::document &doc, const parser::parse_tree &tree) const override
 Keeps track of one node's tag and the skeleton structure beneath it. 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 = "semi-skel"
 Identifier for this featurizer.
 

Detailed Description

Tokenizes parse trees by keeping track of only a single node label and the underlying tree structure.

Member Function Documentation

void meta::analyzers::semi_skeleton_featurizer::tree_tokenize ( corpus::document doc,
const parser::parse_tree tree 
) const
override

Keeps track of one node's tag and the skeleton structure beneath it.

Parameters
docThe document to parse
treeThe current parse_tree in the document

The documentation for this class was generated from the following files: