PocketSphinx  0.6
src/libpocketsphinx/fsg_lextree.c File Reference

The collection of all the lextrees for the entire FSM. More...

#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <sphinxbase/ckd_alloc.h>
#include <sphinxbase/err.h>
#include "fsg_lextree.h"

Go to the source code of this file.

Data Structures

struct  fsg_glist_linklist_t

Defines

#define __FSG_DBG__   0

Typedefs

typedef struct fsg_glist_linklist_t fsg_glist_linklist_t

Functions

fsg_lextree_tfsg_lextree_init (fsg_model_t *fsg, dict_t *dict, dict2pid_t *d2p, bin_mdef_t *mdef, hmm_context_t *ctx, int32 wip, int32 pip)
 Create, initialize, and return a new phonetic lextree for the given FSG.
void fsg_lextree_dump (fsg_lextree_t *lextree, FILE *fp)
 Print an FSG lextree to a file for debugging.
void fsg_lextree_free (fsg_lextree_t *lextree)
 Free lextrees for an FSG.
void fsg_glist_linklist_free (fsg_glist_linklist_t *glist)
void fsg_pnode_add_all_ctxt (fsg_pnode_ctxt_t *ctxt)
 Set all flags on in the given context bitvector.
void fsg_psubtree_dump_node (fsg_lextree_t *tree, fsg_pnode_t *node, FILE *fp)
void fsg_psubtree_pnode_deactivate (fsg_pnode_t *pnode)
 Mark the given pnode as inactive (for search).

Detailed Description

The collection of all the lextrees for the entire FSM.

Author:
M K Ravishankar <rkm@cs.cmu.edu>
Bhiksha Raj <bhiksha@cs.cmu.edu>

Definition in file fsg_lextree.c.