PocketSphinx  5.0.0
A small speech recognizer
Public Member Functions | Related Functions | List of all members
ps_alignment_t Struct Reference

Multi-level alignment (words, phones, states) over an utterance. More...

#include <pocketsphinx/alignment.h>

Public Member Functions

POCKETSPHINX_EXPORT ps_alignment_tps_alignment_retain (ps_alignment_t *al)
 
POCKETSPHINX_EXPORT int ps_alignment_free (ps_alignment_t *al)
 
POCKETSPHINX_EXPORT ps_alignment_iter_tps_alignment_words (ps_alignment_t *al)
 
POCKETSPHINX_EXPORT ps_alignment_iter_tps_alignment_phones (ps_alignment_t *al)
 
POCKETSPHINX_EXPORT ps_alignment_iter_tps_alignment_states (ps_alignment_t *al)
 

Related Functions

(Note that these are not member functions.)

#define PS_ALIGNMENT_NONE   -1
 

Detailed Description

Multi-level alignment (words, phones, states) over an utterance.

Member Function Documentation

◆ ps_alignment_retain()

POCKETSPHINX_EXPORT ps_alignment_t * ps_alignment_retain ( ps_alignment_t al)

Retain an alighment

◆ ps_alignment_free()

POCKETSPHINX_EXPORT int ps_alignment_free ( ps_alignment_t al)

Release an alignment

◆ ps_alignment_words()

POCKETSPHINX_EXPORT ps_alignment_iter_t * ps_alignment_words ( ps_alignment_t al)

Iterate over the alignment starting at the first word.

◆ ps_alignment_phones()

POCKETSPHINX_EXPORT ps_alignment_iter_t * ps_alignment_phones ( ps_alignment_t al)

Iterate over the alignment starting at the first phone.

◆ ps_alignment_states()

POCKETSPHINX_EXPORT ps_alignment_iter_t * ps_alignment_states ( ps_alignment_t al)

Iterate over the alignment starting at the first state.

Friends And Related Function Documentation

◆ PS_ALIGNMENT_NONE

#define PS_ALIGNMENT_NONE   -1
related

Value indicating no parent or child for an entry.


The documentation for this struct was generated from the following file: