Classes | Macros | Typedefs | Functions | Variables
lts.h File Reference
#include <s3types.h>

Go to the source code of this file.

Classes

struct  lex_entry_str
 
struct  cst_lts_rules_struct
 
struct  cst_lts_rule_struct
 

Macros

#define CST_LTS_EOR   255
 

Typedefs

typedef unsigned short cst_lts_addr
 
typedef int cst_lts_phone
 
typedef unsigned char cst_lts_feat
 
typedef unsigned char cst_lts_letter
 
typedef unsigned char cst_lts_model
 
typedef uint32 acmod_id_t
 
typedef uint32 word_id_t
 
typedef struct lex_entry_str lex_entry_t
 
typedef struct cst_lts_rules_struct cst_lts_rules
 
typedef struct cst_lts_rules_struct lts_t
 
typedef struct cst_lts_rule_struct cst_lts_rule
 
typedef struct cst_lts_rule_struct lts_rule_t
 

Functions

cst_lts_rulesnew_lts_rules (void)
 
int lts_apply (const char *word, const char *feats, const cst_lts_rules *r, struct lex_entry_str *out_phones)
 
void lex_print (lex_entry_t *ent)
 

Variables

const cst_lts_rules cmu6_lts_rules
 

Macro Definition Documentation

◆ CST_LTS_EOR

#define CST_LTS_EOR   255

Typedef Documentation

◆ acmod_id_t

typedef uint32 acmod_id_t

◆ cst_lts_addr

typedef unsigned short cst_lts_addr

◆ cst_lts_feat

typedef unsigned char cst_lts_feat

◆ cst_lts_letter

typedef unsigned char cst_lts_letter

◆ cst_lts_model

typedef unsigned char cst_lts_model

◆ cst_lts_phone

typedef int cst_lts_phone

◆ cst_lts_rule

◆ cst_lts_rules

◆ lex_entry_t

typedef struct lex_entry_str lex_entry_t

◆ lts_rule_t

◆ lts_t

typedef struct cst_lts_rules_struct lts_t

◆ word_id_t

typedef uint32 word_id_t

Function Documentation

◆ lex_print()

void lex_print ( lex_entry_t ent)

Print lexical entry

Parameters
entA lexical entry

◆ lts_apply()

int lts_apply ( const char *  word,
const char *  feats,
const cst_lts_rules r,
struct lex_entry_str out_phones 
)

◆ new_lts_rules()

cst_lts_rules* new_lts_rules ( void  )

Variable Documentation

◆ cmu6_lts_rules

const cst_lts_rules cmu6_lts_rules