ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
parser
trees
visitors
sequence_extractor.h
Go to the documentation of this file.
1
9
#include "parser/trees/visitors/visitor.h"
10
#include "
parser/trees/internal_node.h
"
11
#include "
parser/trees/leaf_node.h
"
12
#include "
sequence/sequence.h
"
13
14
namespace
meta
15
{
16
namespace
parser
17
{
18
24
class
sequence_extractor
:
public
const_visitor
<void>
25
{
26
public
:
27
void
operator()
(
const
leaf_node
&)
override
;
28
void
operator()
(
const
internal_node
&)
override
;
29
37
sequence::sequence
sequence
();
38
39
private
:
41
sequence::sequence
seq_
;
42
};
43
}
44
}
sequence.h
internal_node.h
meta::parser::sequence_extractor::operator()
void operator()(const leaf_node &) override
Definition:
sequence_extractor.cpp:15
meta::parser::internal_node
An internal node in a parse tree.
Definition:
internal_node.h:28
meta::sequence::sequence
Represents a tagged sequence of observations.
Definition:
sequence.h:24
meta::parser::sequence_extractor::seq_
sequence::sequence seq_
Storage for the partial sequence thus far.
Definition:
sequence_extractor.h:41
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::sequence_extractor::sequence
sequence::sequence sequence()
Extracts the sequence found.
Definition:
sequence_extractor.cpp:30
meta::parser::const_visitor
Abstract base class for visitors over parse trees that do not modify the underlying tree...
Definition:
visitor.h:25
meta::parser::sequence_extractor
This is a visitor that converts a parse tree into a POS-tagged sequence.
Definition:
sequence_extractor.h:24
meta::parser::leaf_node
A leaf node (pre-terminal) in a parse tree.
Definition:
leaf_node.h:24
leaf_node.h
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1