SPRAAK
|
Reading and conversion of phone descriptions + assimilation rules. More...
Data Structures | |
struct | SprCwrARule |
struct | SprCwrCDPhone |
description of a context dependent phone More... | |
struct | SprCwrCIPhone |
description of a context independent phone More... | |
struct | SprCwrNodeInfo |
all info that describes a node More... | |
struct | SprCwrPhoneDesc |
Enumerations | |
enum | { SPR_CWR_AR_RCW_SEQS, SPR_CWR_AR_OCW_SEQS, SPR_CWR_AR_OPT_SEQS, SPR_CWR_AR_TRIV_SET, SPR_CWR_AR_USED } |
info More... | |
enum | { SPR_CWR_AR_INSERT, SPR_CWR_AR_INSERT_BEFORE, SPR_CWR_AR_INSERT_AFTER, SPR_CWR_AR_DELETE, SPR_CWR_AR_SUBSTITUTE, SPR_CWR_AR_ADD_VARIANT } |
action More... | |
enum | { SPR_CWR_NIF_FINAL, SPR_CWR_NIF_NO_TR, SPR_CWR_NIF_MASK, SPR_CWR_NIF_SHIFT } |
Functions | |
SprCwrARule * | spr_cwr_assimil_rules_free (SprCwrARule *rules) |
void | spr_cwr_assimil_rules_print (SprStream *fd, const char *lm, const SprCwrARule *rules, SprCwrPhoneDesc *ph) |
void | spr_cwr_assimil_rule_print (SprStream *fd, const SprCwrARule *rule, const SprCwrPhoneDesc *ph) |
SprCwrPhoneDesc * | spr_cwr_phone_desc_read (SprCwrPhoneDesc *phone_desc, int set_node_info, const char *ci_fname, const char *cd_fname) |
const SprCwrCDPhone * | spr_cwr_phone_str2cd (const SprCwrPhoneDesc *phones, const char *phone_str, int phone_str_len) |
const SprCwrNodeInfo * | spr_cwr_phone_str2cds (const SprCwrPhoneDesc *phones, const char *phone_str, int phone_str_len, int state_ndx) |
int | spr_cwr_phone_desc_purge (SprCwrPhoneDesc *phone_desc, int **ci_xlat_rv) |
int | spr_cwr_phone_desc_write (SprStream *dest, SprCwrPhoneDesc *ph, int used_only, int ignore_node_info) |
Variables | |
const SprCwrPhoneDesc | spr_cwr_empty_phone_desc |
Reading and conversion of phone descriptions + assimilation rules.
The default strings for the special symbols can be overwritten by defining them in the key-header of the CI-phone description file (see read_phone_desc() for more details).