ModErn Text Analysis
META Enumerates Textual Applications
tagger.h
Go to the documentation of this file.
1 
10 #ifndef META_SEQUENCE_CRF_TAGGER_H_
11 #define META_SEQUENCE_CRF_TAGGER_H_
12 
14 
15 namespace meta
16 {
17 namespace sequence
18 {
19 
21 {
22  public:
27  tagger(const crf& model);
28 
36  void tag(sequence& seq);
37 
38  private:
39  class impl;
43  uint64_t num_labels_;
44 };
45 
46 }
47 }
48 #endif
uint64_t num_labels_
the number of labels
Definition: tagger.h:43
Represents a tagged sequence of observations.
Definition: sequence.h:24
Linear-chain conditional random field for POS tagging and chunking applications.
Definition: crf.h:40
tagger(const crf &model)
Constructs a tagger against the given model.
Definition: tagger.cpp:19
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
Scorer for performing viterbi-based tagging.
Definition: viterbi_scorer.h:23
Definition: tagger.h:20
crf::viterbi_scorer scorer_
the scorer used internally to run viterbi
Definition: tagger.h:39
void tag(sequence &seq)
Tags a sequence.
Definition: tagger.cpp:25