The global wrapper structure for all variables in 3.X search. We may want to use it for sphinx 3.0 as well. More...
#include <stdio.h>
#include <s3types.h>
#include <cmd_ln.h>
#include <fe.h>
#include "kbcore.h"
#include "ascr.h"
#include "fast_algo_struct.h"
#include "stat.h"
#include "adaptor.h"
Go to the source code of this file.
Classes | |
struct | kb_t |
Functions | |
S3DECODER_EXPORT void | kb_init (kb_t *kb, cmd_ln_t *config) |
S3DECODER_EXPORT void | kb_free (kb_t *kb) |
S3DECODER_EXPORT void | kb_setmllr (const char *mllrname, const char *cb2mllrname, kb_t *kb) |
S3DECODER_EXPORT void | kb_set_uttid (const char *uttid, const char *uttfile, kb_t *kb) |
The global wrapper structure for all variables in 3.X search. We may want to use it for sphinx 3.0 as well.
S3DECODER_EXPORT void kb_free | ( | kb_t * | kb | ) |
Deallocate the kb structure
S3DECODER_EXPORT void kb_init | ( | kb_t * | kb, |
cmd_ln_t * | config | ||
) |
Initialize the kb
kb | In/Out: An empty kb_t |
config | In: The command-line object |
S3DECODER_EXPORT void kb_set_uttid | ( | const char * | uttid, |
const char * | uttfile, | ||
kb_t * | kb | ||
) |
Set Utterance ID to uttid
uttid | In: the new utt id |
uttfile | In: the new utt filename |
S3DECODER_EXPORT void kb_setmllr | ( | const char * | mllrname, |
const char * | cb2mllrname, | ||
kb_t * | kb | ||
) |
Set MLLR
mllrname | In: The name of the mllr model |
cb2mllrname | In: The filename of the MLLR class map |