Edinburgh Speech Tools  2.1-release
EST_relation_aux.h File Reference
#include "EST_String.h"
#include "EST_Track.h"
#include "ling_class/EST_Utterance.h"
#include "EST_Option.h"
#include "EST_THash.h"
Include dependency graph for EST_relation_aux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef EST_TList< EST_RelationEST_RelationList
 
typedef EST_TStringHash< EST_Relation * > EST_hashedRelationList
 

Functions

EST_String options_relation_filetypes (void)
 
void convert_to_broad (EST_Relation &seg, EST_StrList &pos_list, EST_String broad_name="", int polarity=1)
 
void convert_to_broad_class (EST_Relation &seg, const EST_String &class_type, EST_Option &options)
 
int merge_label (EST_Relation &seg, const EST_String &labtype)
 
void change_label (EST_Relation &seg, const EST_String &oname, const EST_String &nname)
 
void merge_all_label (EST_Relation &seg, const EST_String &labtype)
 
void track_to_label (const EST_Track &tr, EST_Relation &lab, float thresh=0.0)
 
void track_to_pm (const EST_Track &tr, int sample_rate, EST_Relation &lab)
 
void label_to_track (const EST_Relation &lab, const EST_Option &al, const EST_Option &op, EST_Track &tr)
 
void label_to_track (const EST_Relation &lab, EST_Track &tr, float shift, float offset=0.0, float range=1.0, float req_length=-1.0, const EST_String &pad="low")
 
void shift_label (EST_Relation &seg, float shift)
 
void label_map (EST_Relation &seg, EST_Option &map)
 
void quantize (EST_Relation &a, float q)
 
int edit_labels (EST_Relation &a, EST_String sedfile)
 
void RelationList_select (EST_RelationList &mlf, EST_StrList filenames, bool exact_match)
 
EST_Relation RelationList_extract (EST_RelationList &mlf, const EST_String &filename, bool base)
 
EST_Relation RelationList_combine (EST_RelationList &mlf)
 
EST_Relation RelationList_combine (EST_RelationList &mlf, EST_Relation &key)
 
int relation_divide (EST_RelationList &mlf, EST_Relation &lab, EST_Relation &keylab, EST_String ext)
 
int relation_divide (EST_RelationList &mlf, EST_Relation &lab, EST_Relation &keylab, EST_StrList &list, EST_String ext)
 
EST_LitemRelationList_ptr_extract (EST_RelationList &mlf, const EST_String &filename, bool base)
 
void relation_convert (EST_Relation &lab, EST_Option &al, EST_Option &op)
 
EST_read_status load_RelationList (const EST_String &filename, EST_RelationList &plist)
 
EST_write_status save_RelationList (const EST_String &filename, const EST_RelationList &plist)
 
EST_write_status save_RelationList (const EST_String &filename, const EST_RelationList &plist, int time=1, int path=1)
 
EST_write_status save_ind_RelationList (const EST_String &filename, const EST_RelationList &plist, const EST_String &features, int path)
 
EST_write_status save_WordList (const EST_String &filename, const EST_RelationList &plist, int n)
 
EST_write_status save_SentenceList (EST_String filename, EST_RelationList &plist, int n)
 
EST_read_status read_RelationList (EST_RelationList &mlf, EST_StrList &files, EST_Option &al)
 
float start (EST_Item *n)
 
float duration (EST_Item *n)
 
void build_RelationList_hash_table (EST_RelationList &mlf, EST_hashedRelationList &hash_table, const bool base)
 hashed relation lists for super speed More...
 
bool hashed_RelationList_extract (EST_Relation *&rel, const EST_hashedRelationList &hash_table, const EST_String &filename, bool base)
 

Typedef Documentation

Definition at line 50 of file EST_relation_aux.h.

Function Documentation

EST_String options_relation_filetypes ( void  )
void convert_to_broad ( EST_Relation seg,
EST_StrList pos_list,
EST_String  broad_name = "",
int  polarity = 1 
)

Definition at line 232 of file EST_relation_aux.cc.

void convert_to_broad_class ( EST_Relation seg,
const EST_String class_type,
EST_Option options 
)

Definition at line 214 of file EST_relation_aux.cc.

int merge_label ( EST_Relation seg,
const EST_String labtype 
)
void change_label ( EST_Relation seg,
const EST_String oname,
const EST_String nname 
)

Definition at line 169 of file EST_relation_aux.cc.

void merge_all_label ( EST_Relation seg,
const EST_String labtype 
)

Definition at line 156 of file EST_relation_aux.cc.

void track_to_label ( const EST_Track tr,
EST_Relation lab,
float  thresh = 0.0 
)

Definition at line 54 of file EST_relation_track.cc.

void track_to_pm ( const EST_Track tr,
int  sample_rate,
EST_Relation lab 
)

Definition at line 95 of file EST_relation_track.cc.

void label_to_track ( const EST_Relation lab,
const EST_Option al,
const EST_Option op,
EST_Track tr 
)

Definition at line 165 of file EST_relation_track.cc.

void label_to_track ( const EST_Relation lab,
EST_Track tr,
float  shift,
float  offset = 0.0,
float  range = 1.0,
float  req_length = -1.0,
const EST_String pad = "low" 
)

Definition at line 134 of file EST_relation_track.cc.

void shift_label ( EST_Relation seg,
float  shift 
)

Definition at line 264 of file EST_relation_aux.cc.

void label_map ( EST_Relation seg,
EST_Option map 
)

Definition at line 246 of file EST_relation_aux.cc.

void quantize ( EST_Relation a,
float  q 
)

Definition at line 71 of file EST_relation_aux.cc.

int edit_labels ( EST_Relation a,
EST_String  sedfile 
)

Definition at line 87 of file EST_relation_aux.cc.

void RelationList_select ( EST_RelationList mlf,
EST_StrList  filenames,
bool  exact_match 
)

Definition at line 273 of file EST_relation_aux.cc.

EST_Relation RelationList_extract ( EST_RelationList mlf,
const EST_String filename,
bool  base 
)

Definition at line 324 of file EST_relation_aux.cc.

EST_Relation RelationList_combine ( EST_RelationList mlf)

Definition at line 349 of file EST_relation_aux.cc.

EST_Relation RelationList_combine ( EST_RelationList mlf,
EST_Relation key 
)

Definition at line 370 of file EST_relation_aux.cc.

int relation_divide ( EST_RelationList mlf,
EST_Relation lab,
EST_Relation keylab,
EST_String  ext 
)
int relation_divide ( EST_RelationList mlf,
EST_Relation lab,
EST_Relation keylab,
EST_StrList list,
EST_String  ext 
)

Definition at line 397 of file EST_relation_aux.cc.

EST_Litem* RelationList_ptr_extract ( EST_RelationList mlf,
const EST_String filename,
bool  base 
)

Definition at line 607 of file EST_relation_aux.cc.

void relation_convert ( EST_Relation lab,
EST_Option al,
EST_Option op 
)

Definition at line 627 of file EST_relation_aux.cc.

EST_read_status load_RelationList ( const EST_String filename,
EST_RelationList plist 
)

Definition at line 582 of file relation_io.cc.

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

Definition at line 471 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_write_status save_WordList ( const EST_String filename,
const EST_RelationList plist,
int  n 
)

Definition at line 523 of file relation_io.cc.

EST_write_status save_SentenceList ( EST_String  filename,
EST_RelationList plist,
int  n 
)
EST_read_status read_RelationList ( EST_RelationList mlf,
EST_StrList files,
EST_Option al 
)

Definition at line 636 of file relation_io.cc.

float start ( EST_Item n)

Definition at line 61 of file EST_relation_aux.cc.

float duration ( EST_Item n)

Definition at line 66 of file EST_relation_aux.cc.

void build_RelationList_hash_table ( EST_RelationList mlf,
EST_hashedRelationList hash_table,
const bool  base 
)

hashed relation lists for super speed

Definition at line 688 of file EST_relation_aux.cc.

bool hashed_RelationList_extract ( EST_Relation *&  rel,
const EST_hashedRelationList hash_table,
const EST_String filename,
bool  base 
)

Definition at line 704 of file EST_relation_aux.cc.