Main Page | Class List | Directories | File List | Class Members | File Members

kb.h File Reference

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)


Detailed Description

The global wrapper structure for all variables in 3.X search. We may want to use it for sphinx 3.0 as well.


Function Documentation

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

Parameters:
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

Parameters:
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

Parameters:
mllrname  In: The name of the mllr model
cb2mllrname  In: The filename of the MLLR class map


Generated on Sat Apr 11 00:02:29 2009 by  doxygen 1.3.9.1