|
ModErn Text Analysis
META Enumerates Textual Applications
|
Scorer for performing viterbi-based tagging. More...
#include <viterbi_scorer.h>
Public Member Functions | |
| viterbi_scorer (const crf &model) | |
| Constructs a new scorer against the given model. More... | |
| viterbi_trellis | viterbi (const sequence &seq) |
| Runs the viterbi algorithm to produce a trellis with back-pointers. More... | |
Private Attributes | |
| crf::scorer | scorer_ |
| the internal scorer used | |
| const crf * | model_ |
| a back-pointer to the model this scorer uses to tag | |
Scorer for performing viterbi-based tagging.
| meta::sequence::crf::viterbi_scorer::viterbi_scorer | ( | const crf & | model | ) |
Constructs a new scorer against the given model.
| model | The model to score with |
| viterbi_trellis meta::sequence::crf::viterbi_scorer::viterbi | ( | const sequence & | seq | ) |
Runs the viterbi algorithm to produce a trellis with back-pointers.
| seq | The sequence to score |
1.8.9.1