src/libsphinxbase/lm/jsgf_internal.h File Reference

Internal definitions for JSGF grammar compiler. More...

#include <hash_table.h>
#include <glist.h>
#include <stdio.h>
#include <fsg_model.h>
#include <logmath.h>
#include <strfuncs.h>
#include <jsgf.h>

Go to the source code of this file.

Data Structures

struct  jsgf_s
struct  jsgf_rule_s
struct  jsgf_rhs_s
struct  jsgf_atom_s
struct  jsgf_link_s

Defines

#define YY_NO_UNISTD_H   1
#define jsgf_atom_is_rule(atom)   ((atom)->name[0] == '<')

Typedefs

typedef struct jsgf_rhs_s jsgf_rhs_t
typedef struct jsgf_atom_s jsgf_atom_t
typedef struct jsgf_link_s jsgf_link_t

Functions

void jsgf_add_link (jsgf_t *grammar, jsgf_atom_t *atom, int from, int to)
jsgf_atom_tjsgf_atom_new (char *name, float weight)
jsgf_atom_tjsgf_kleene_new (jsgf_t *jsgf, jsgf_atom_t *atom, int plus)
jsgf_rule_tjsgf_optional_new (jsgf_t *jsgf, jsgf_rhs_t *exp)
jsgf_rule_tjsgf_define_rule (jsgf_t *jsgf, char *name, jsgf_rhs_t *rhs, int public)
jsgf_rule_tjsgf_import_rule (jsgf_t *jsgf, char *name)
int jsgf_atom_free (jsgf_atom_t *atom)
int jsgf_rule_free (jsgf_rule_t *rule)
jsgf_rule_tjsgf_rule_retain (jsgf_rule_t *rule)

Detailed Description

Internal definitions for JSGF grammar compiler.

Definition in file jsgf_internal.h.


Generated on 19 Feb 2010 for SphinxBase by  doxygen 1.6.1