ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
sequence
crf
viterbi_scorer.h
Go to the documentation of this file.
1
10
#ifndef META_SEQUENCE_CRF_VITERBI_SCORER_H_
11
#define META_SEQUENCE_CRF_VITERBI_SCORER_H_
12
13
#include "
sequence/crf/scorer.h
"
14
15
namespace
meta
16
{
17
namespace
sequence
18
{
19
23
class
crf::viterbi_scorer
24
{
25
public
:
30
viterbi_scorer
(
const
crf
& model);
31
40
viterbi_trellis
viterbi
(
const
sequence
& seq);
41
42
private
:
44
crf::scorer
scorer_
;
46
const
crf
*
model_
;
47
};
48
}
49
}
50
#endif
meta::sequence::crf::scorer
Internal class that holds scoring information for sequences under the current model.
Definition:
scorer.h:24
meta::sequence::sequence
Represents a tagged sequence of observations.
Definition:
sequence.h:24
scorer.h
meta::sequence::crf
Linear-chain conditional random field for POS tagging and chunking applications.
Definition:
crf.h:40
meta::sequence::crf::viterbi_scorer::viterbi
viterbi_trellis viterbi(const sequence &seq)
Runs the viterbi algorithm to produce a trellis with back-pointers.
Definition:
viterbi_scorer.cpp:21
meta::sequence::viterbi_trellis
Special trellis for the Viterbi algorithm.
Definition:
trellis.h:108
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::sequence::crf::viterbi_scorer
Scorer for performing viterbi-based tagging.
Definition:
viterbi_scorer.h:23
meta::sequence::crf::viterbi_scorer::viterbi_scorer
viterbi_scorer(const crf &model)
Constructs a new scorer against the given model.
Definition:
viterbi_scorer.cpp:13
meta::sequence::crf::viterbi_scorer::model_
const crf * model_
a back-pointer to the model this scorer uses to tag
Definition:
viterbi_scorer.h:46
meta::sequence::crf::viterbi_scorer::scorer_
crf::scorer scorer_
the internal scorer used
Definition:
viterbi_scorer.h:44
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1