ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
parser
analyzers
featurizers
tree_featurizer.h
Go to the documentation of this file.
1
9
#ifndef META_TREE_FEATURIZER_H_
10
#define META_TREE_FEATURIZER_H_
11
12
#include "
corpus/document.h
"
13
#include "
parser/trees/parse_tree.h
"
14
15
namespace
meta
16
{
17
namespace
analyzers
18
{
19
24
class
tree_featurizer
25
{
26
public
:
30
virtual
~tree_featurizer
() =
default
;
31
37
virtual
void
tree_tokenize
(
corpus::document
& doc,
38
const
parser::parse_tree
& tree)
const
= 0;
39
};
40
}
41
}
42
43
#endif
meta::analyzers::tree_featurizer::tree_tokenize
virtual void tree_tokenize(corpus::document &doc, const parser::parse_tree &tree) const =0
meta::parser::parse_tree
Represents the parse tree for a sentence.
Definition:
parse_tree.h:32
parse_tree.h
meta::corpus::document
Represents an indexable document.
Definition:
document.h:31
document.h
meta
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition:
analyzer.h:24
meta::analyzers::tree_featurizer
Base class for featurizers that convert trees into features in a document.
Definition:
tree_featurizer.h:24
meta::analyzers::tree_featurizer::~tree_featurizer
virtual ~tree_featurizer()=default
Destructor.
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1