| 84 | } |
| 85 | |
| 86 | unsigned long order() const |
| 87 | /*! |
| 88 | ensures |
| 89 | - This object represents a Markov model on the output labels. |
| 90 | This parameter defines the order of the model. That is, this |
| 91 | value controls how many previous label values get to be taken |
| 92 | into consideration when performing feature extraction for a |
| 93 | particular element of the input sequence. Note that the runtime |
| 94 | of the algorithm is exponential in the order. So don't make order |
| 95 | very large. |
| 96 | !*/ |
| 97 | { |
| 98 | // In this case we are using a HMM model that only looks at the |
| 99 | // previous label. |
| 100 | return 1; |
| 101 | } |
| 102 | |
| 103 | unsigned long num_labels() const |
| 104 | /*! |
nothing calls this directly
no outgoing calls
no test coverage detected