PocketSphinx 5prealpha
ps_mllr.h File Reference

Model-space linear transforms for speaker adaptation. More...

#include <sphinxbase/prim_type.h>
#include <sphinxbase/ngram_model.h>
#include <pocketsphinx_export.h>

Go to the source code of this file.

Typedefs

typedef struct ps_mllr_s ps_mllr_t
 Feature space linear transform object.
 

Functions

POCKETSPHINX_EXPORT ps_mllr_tps_mllr_read (char const *file)
 Read a speaker-adaptive linear transform from a file.
 
POCKETSPHINX_EXPORT ps_mllr_tps_mllr_retain (ps_mllr_t *mllr)
 Retain a pointer to a linear transform.
 
POCKETSPHINX_EXPORT int ps_mllr_free (ps_mllr_t *mllr)
 Release a pointer to a linear transform.
 

Detailed Description

Model-space linear transforms for speaker adaptation.

Definition in file ps_mllr.h.

Typedef Documentation

◆ ps_mllr_t

typedef struct ps_mllr_s ps_mllr_t

Feature space linear transform object.

Definition at line 62 of file ps_mllr.h.

Function Documentation

◆ ps_mllr_free()

POCKETSPHINX_EXPORT int ps_mllr_free ( ps_mllr_t mllr)

Release a pointer to a linear transform.

Definition at line 145 of file ps_mllr.c.

References ps_mllr_s::A, ps_mllr_s::b, ps_mllr_s::h, ps_mllr_s::n_feat, ps_mllr_s::refcnt, and ps_mllr_s::veclen.

Referenced by acmod_free(), acmod_update_mllr(), and ps_mllr_read().

◆ ps_mllr_read()

POCKETSPHINX_EXPORT ps_mllr_t * ps_mllr_read ( char const *  file)

Read a speaker-adaptive linear transform from a file.

Definition at line 52 of file ps_mllr.c.

References ps_mllr_s::A, ps_mllr_s::b, ps_mllr_s::h, ps_mllr_s::n_class, ps_mllr_s::n_feat, ps_mllr_free(), ps_mllr_s::refcnt, and ps_mllr_s::veclen.

◆ ps_mllr_retain()

POCKETSPHINX_EXPORT ps_mllr_t * ps_mllr_retain ( ps_mllr_t mllr)

Retain a pointer to a linear transform.

Definition at line 138 of file ps_mllr.c.

References ps_mllr_s::refcnt.