PocketSphinx
5.0.0
A small speech recognizer
|
Iterator over DAG nodes. More...
#include <pocketsphinx/lattice.h>
Public Member Functions | |
POCKETSPHINX_EXPORT ps_latnode_iter_t * | ps_latnode_iter_next (ps_latnode_iter_t *itor) |
POCKETSPHINX_EXPORT void | ps_latnode_iter_free (ps_latnode_iter_t *itor) |
POCKETSPHINX_EXPORT ps_latnode_t * | ps_latnode_iter_node (ps_latnode_iter_t *itor) |
POCKETSPHINX_EXPORT int | ps_latnode_times (ps_latnode_t *node, int16 *out_fef, int16 *out_lef) |
Iterator over DAG nodes.
POCKETSPHINX_EXPORT ps_latnode_iter_t * ps_latnode_iter_next | ( | ps_latnode_iter_t * | itor | ) |
Move to next node in iteration.
itor | Node iterator. |
POCKETSPHINX_EXPORT void ps_latnode_iter_free | ( | ps_latnode_iter_t * | itor | ) |
Stop iterating over nodes.
itor | Node iterator. |
POCKETSPHINX_EXPORT ps_latnode_t * ps_latnode_iter_node | ( | ps_latnode_iter_t * | itor | ) |
Get node from iterator.
POCKETSPHINX_EXPORT int ps_latnode_times | ( | ps_latnode_t * | node, |
int16 * | out_fef, | ||
int16 * | out_lef | ||
) |
Get start and end time range for a node.
node | Node inquired about. |
out_fef | Output: End frame of first exit from this node. |
out_lef | Output: End frame of last exit from this node. |