ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
parser
trees
visitors
empty_remover.h
Go to the documentation of this file.
1
9
#ifndef META_PARSE_EMPTY_REMOVER_H_
10
#define META_PARSE_EMPTY_REMOVER_H_
11
12
#include "
parser/trees/visitors/tree_transformer.h
"
13
14
namespace
meta
15
{
16
namespace
parser
17
{
18
23
class
empty_remover
:
public
tree_transformer
24
{
25
public
:
26
std::unique_ptr<node>
operator()
(
const
leaf_node
&)
override
;
27
std::unique_ptr<node>
operator()
(
const
internal_node
&)
override
;
28
};
29
}
30
}
31
32
#endif
meta::parser::empty_remover::operator()
std::unique_ptr< node > operator()(const leaf_node &) override
Definition:
empty_remover.cpp:16
meta::parser::internal_node
An internal node in a parse tree.
Definition:
internal_node.h:28
meta::parser::empty_remover
A tree transformer that removes trace elements (like "-NONE-" in the Penn Treebank) as well as nodes ...
Definition:
empty_remover.h:23
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::parser::tree_transformer
Abstract base class for tree transformers.
Definition:
tree_transformer.h:25
tree_transformer.h
meta::parser::leaf_node
A leaf node (pre-terminal) in a parse tree.
Definition:
leaf_node.h:24
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1