(model* mo, int* o_seq, int seq_len, int k,
double* log_p)
Calculates the most probable labeling for the given sequence in the given model using k-best decoding.
Documentation
Calculates the most probable labeling for the given sequence in the given
model using k-best decoding.
Labels must be from interval [0:max_label] without gaps!!! (not checked)
Model must not have silent states. (checked in Python wrapper)
- Parameters:
- mo - : pointer to a model
o_seq - : output sequence (array of internal representation chars)
seq_len - : length of output sequence
k - : number of hypotheses to keep for each state
log_p - : variable reference to store the log prob. of the labeling
- Returns:
- array of labels (internal representation)
Alphabetic index
This page was generated with the help of DOC++.