61 #ifndef _SRCH_OUTPUT_H_ 62 #define _SRCH_OUTPUT_H_ 73 #define HYPSEG_SUCCESS 1 74 #define HYPSEG_FAILURE 0 75 #define WORST_CONFIDENCE_SCORE ((int)0xE0000000) S3DECODER_EXPORT int read_s3hypseg_line(char *line, seg_hyp_line_t *seg_hyp_line, lm_t *lm, dict_t *dict)
int32 compute_scale(int32 sf, int32 ef, int32 *scalearray)
The temporary header file for sphinx 3 functions.
Operations on dictionary.
a strurcture that stores one line of hypothesis. Mainly used in confidence.c
void match_detailed(FILE *fp, glist_t hyp, char *uttid, char *LBL, char *lbl, int32 *senscale, dict_t *dict)
S3DECODER_EXPORT void match_write(FILE *fp, glist_t hyp, char *uttid, dict_t *dict, char *hdr)
S3DECODER_EXPORT void matchseg_write(FILE *fp, glist_t hyp, char *uttid, char *hdr, lm_t *lm, dict_t *dict, int32 num_frm, int32 *scl, int32 unnorm)
S3DECODER_EXPORT void log_hyp_detailed(FILE *fp, srch_hyp_t *hypptr, char *uttid, char *LBL, char *lbl, int32 *senscale)
S3DECODER_EXPORT void log_hypstr(FILE *fp, srch_hyp_t *hypptr, char *uttid, int32 exact, int32 scr, dict_t *dict)
Size definition of semantically units. Common for both s3 and s3.X decoder.
#define S3DECODER_EXPORT
Definition: sphinx3_export.h:15
void log_hypseg(char *uttid, FILE *fp, srch_hyp_t *hypptr, int32 nfrm, int32 scl, float64 lwf, dict_t *dict, lm_t *lm, int32 unnorm)
a structure for a dictionary.
Definition: dict.h:146
S3DECODER_EXPORT int free_seg_hyp_line(seg_hyp_line_t *seg_hyp_line)
The language model. All unigrams are read into memory on initialization. Bigrams and trigrams read in...