(s3.0 specific ) Miscellaneus operation used by differerent sphinx 3.0 family of tools. More...
Go to the source code of this file.
Functions | |
FILE * | ctlfile_open (char *file) |
int32 | ctlfile_next (FILE *fp, char *ctlspec, int32 *sf_out, int32 *ef_out, char *uttid) |
void | ctlfile_close (FILE *fp) |
int32 | argfile_load (char *file, char *pgm, char ***argvout) |
int32 | nbestfile_load (char *dir, char *uttid, srch_hyp_t ***hyplist_out) |
void | nbestlist_free (srch_hyp_t **hyplist, int32 nhyp) |
(s3.0 specific ) Miscellaneus operation used by differerent sphinx 3.0 family of tools.
int32 argfile_load | ( | char * | file, |
char * | pgm, | ||
char *** | argvout | ||
) |
Load arguments from a file and create a null-terminated argv array.
file | The file name for input argument |
pgm | The program name |
argvout | Output: The argument |
void ctlfile_close | ( | FILE * | fp | ) |
Close the control file.
fp | The input file pointer |
int32 ctlfile_next | ( | FILE * | fp, |
char * | ctlspec, | ||
int32 * | sf_out, | ||
int32 * | ef_out, | ||
char * | uttid | ||
) |
Read next control file entry.
uttid | The utterance ID |
FILE* ctlfile_open | ( | char * | file | ) |
Return value: control file; E_FATAL if cannot open
file | The input file name |
int32 nbestfile_load | ( | char * | dir, |
char * | uttid, | ||
srch_hyp_t *** | hyplist_out | ||
) |
void nbestlist_free | ( | srch_hyp_t ** | hyplist, |
int32 | nhyp | ||
) |