Edinburgh Speech Tools  2.1-release
relation_io.cc File Reference
#include <cstdlib>
#include <cstdio>
#include <fstream>
#include "EST_unix.h"
#include "EST_types.h"
#include "ling_class/EST_Relation.h"
#include "EST_string_aux.h"
#include "EST_cutils.h"
#include "EST_TList.h"
#include "EST_Option.h"
#include "relation_io.h"
Include dependency graph for relation_io.cc:

Go to the source code of this file.

Macros

#define DEF_SAMPLE_RATE   16000
 
#define HTK_UNITS_PER_SECOND   10000000
 

Functions

EST_read_status read_label_portion (EST_TokenStream &ts, EST_Relation &s, int sample)
 
EST_read_status load_esps_label (EST_TokenStream &ts, EST_Relation &rel)
 
EST_write_status save_esps_label (const EST_String &filename, const EST_Relation &s, bool evaluate_ff)
 
EST_write_status save_esps_label (ostream *outf, const EST_Relation &s, bool evaluate_ff)
 
EST_read_status load_ogi_label (EST_TokenStream &ts, EST_Relation &s)
 
EST_read_status load_words_label (EST_TokenStream &ts, EST_Relation &s)
 
EST_read_status load_sample_label (EST_TokenStream &ts, EST_Relation &s, int sample)
 
EST_write_status save_htk_label (const EST_String &filename, const EST_Relation &a)
 
EST_write_status save_htk_label (ostream *outf, const EST_Relation &a)
 
EST_write_status save_RelationList (const EST_String &filename, const EST_RelationList &plist, int time, int path)
 
EST_write_status save_WordList (const EST_String &filename, const EST_RelationList &plist, int style)
 
EST_write_status save_ind_RelationList (const EST_String &filename, const EST_RelationList &plist, const EST_String &features, int path)
 
EST_read_status load_RelationList (const EST_String &filename, EST_RelationList &plist)
 
EST_read_status read_RelationList (EST_RelationList &plist, EST_StrList &files, EST_Option &al)
 

Macro Definition Documentation

#define DEF_SAMPLE_RATE   16000

Definition at line 53 of file relation_io.cc.

#define HTK_UNITS_PER_SECOND   10000000

Definition at line 54 of file relation_io.cc.

Function Documentation

EST_read_status read_label_portion ( EST_TokenStream ts,
EST_Relation s,
int  sample 
)

Definition at line 284 of file relation_io.cc.

EST_read_status load_esps_label ( EST_TokenStream ts,
EST_Relation rel 
)

Definition at line 61 of file relation_io.cc.

EST_write_status save_esps_label ( const EST_String filename,
const EST_Relation s,
bool  evaluate_ff 
)

Definition at line 109 of file relation_io.cc.

EST_write_status save_esps_label ( ostream *  outf,
const EST_Relation s,
bool  evaluate_ff 
)

Definition at line 134 of file relation_io.cc.

EST_read_status load_ogi_label ( EST_TokenStream ts,
EST_Relation s 
)

Definition at line 192 of file relation_io.cc.

EST_read_status load_words_label ( EST_TokenStream ts,
EST_Relation s 
)

Definition at line 240 of file relation_io.cc.

EST_read_status load_sample_label ( EST_TokenStream ts,
EST_Relation s,
int  sample 
)

Definition at line 314 of file relation_io.cc.

EST_write_status save_htk_label ( const EST_String filename,
const EST_Relation a 
)

Definition at line 334 of file relation_io.cc.

EST_write_status save_htk_label ( ostream *  outf,
const EST_Relation a 
)

Definition at line 359 of file relation_io.cc.

EST_write_status save_RelationList ( const EST_String filename,
const EST_RelationList plist,
int  time,
int  path 
)

Definition at line 471 of file relation_io.cc.

EST_write_status save_WordList ( const EST_String filename,
const EST_RelationList plist,
int  style 
)

Definition at line 523 of file relation_io.cc.

EST_write_status save_ind_RelationList ( const EST_String filename,
const EST_RelationList plist,
const EST_String features,
int  path 
)

Definition at line 562 of file relation_io.cc.

EST_read_status load_RelationList ( const EST_String filename,
EST_RelationList plist 
)

Definition at line 582 of file relation_io.cc.

EST_read_status read_RelationList ( EST_RelationList plist,
EST_StrList files,
EST_Option al 
)

Definition at line 636 of file relation_io.cc.