Wrapper to hold senone scores. More...
#include <s3types.h>Go to the source code of this file.
Classes | |
| struct | ascr_t |
Functions | |
| S3DECODER_EXPORT ascr_t * | ascr_init (int32 n_sen, int32 n_comsen, int32 n_sseq, int32 n_comsseq, int32 pl_win, int32 n_cisen) |
| void | ascr_report (ascr_t *a) |
| void | ascr_print_senscr (ascr_t *a) |
| S3DECODER_EXPORT void | ascr_free (ascr_t *a) |
| void | ascr_shift_one_cache_frame (ascr_t *a, int32 win_efv) |
| void | ascr_clear_sen_active (ascr_t *a) |
| void | ascr_clear_ssid_active (ascr_t *a) |
| void | ascr_clear_comssid_active (ascr_t *a) |
Wrapper to hold senone scores.
| void ascr_clear_comssid_active | ( | ascr_t * | a | ) |
Clear the composite senone sequence ID active array
| a | Input, an initialized ascr data structure |
| void ascr_clear_sen_active | ( | ascr_t * | a | ) |
Clear the senone active array
| a | Input, an initialized ascr data structure |
| void ascr_clear_ssid_active | ( | ascr_t * | a | ) |
Clear senone sequence ID active array.
| a | Input, an initialized ascr data structure |
| S3DECODER_EXPORT void ascr_free | ( | ascr_t * | a | ) |
Free ascr_t
| a | Input: an initialized ascr data structure |
| S3DECODER_EXPORT ascr_t* ascr_init | ( | int32 | n_sen, |
| int32 | n_comsen, | ||
| int32 | n_sseq, | ||
| int32 | n_comsseq, | ||
| int32 | pl_win, | ||
| int32 | n_cisen | ||
| ) |
Create an ascr_t structure for the given number of senones (ordinary and composite).
| n_sen | Input: #Ordinary senones |
| n_comsen | Input: #Composite senones |
| n_sseq | Input: # of senone sequences |
| n_comsseq | Input: # of composite senone sequences |
| pl_win | Input: size of phoneme lookahead windows |
| n_cisen | Input: # of CI senones |
| void ascr_print_senscr | ( | ascr_t * | a | ) |
Report the senone scores and comsen scores array. For debugging.
| a | Input: ascr data structure |
| void ascr_report | ( | ascr_t * | a | ) |
Report the ascr parameters.
| a | Input : ascr data structure |
| void ascr_shift_one_cache_frame | ( | ascr_t * | a, |
| int32 | win_efv | ||
| ) |
Shift one frame for the cache
| a | Input: an initialized ascr data structure |
| win_efv | Input: the effective size of cache windows |
1.7.6.1