ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
parser
analyzers
featurizers
tag_featurizer.h
Go to the documentation of this file.
1
10
#ifndef META_TAG_FEATURIZER_H_
11
#define META_TAG_FEATURIZER_H_
12
13
#include "
parser/analyzers/featurizers/tree_featurizer.h
"
14
#include "
util/clonable.h
"
15
16
namespace
meta
17
{
18
namespace
analyzers
19
{
20
24
class
tag_featurizer
:
public
util::clonable
<tree_featurizer, tag_featurizer>
25
{
26
public
:
32
void
tree_tokenize
(
corpus::document
& doc,
33
const
parser::parse_tree
& tree)
const override
;
34
36
const
static
std::string
id
;
37
};
38
}
39
}
40
41
#endif
meta::parser::parse_tree
Represents the parse tree for a sentence.
Definition:
parse_tree.h:32
meta::util::multilevel_clonable
Template class to facilitate polymorphic cloning.
Definition:
clonable.h:28
clonable.h
meta::analyzers::tag_featurizer
Tokenizes parse trees by looking at labels of leaf and interior nodes.
Definition:
tag_featurizer.h:24
meta::corpus::document
Represents an indexable document.
Definition:
document.h:31
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::tag_featurizer::tree_tokenize
void tree_tokenize(corpus::document &doc, const parser::parse_tree &tree) const override
Counts occurrences of leaf and interior node labels.
Definition:
tag_featurizer.cpp:46
tree_featurizer.h
meta::analyzers::tag_featurizer::id
static const std::string id
Identifier for this featurizer.
Definition:
tag_featurizer.h:36
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1