41 #ifndef __EST_RELATION_AUX_H__ 42 #define __EST_RELATION_AUX_H__ 75 float shift,
float offset=0.0,
76 float range = 1.0,
float req_length = -1.0,
111 int time=1,
int path = 1);
void convert_to_broad_class(EST_Relation &seg, const EST_String &class_type, EST_Option &options)
void merge_all_label(EST_Relation &seg, const EST_String &labtype)
void change_label(EST_Relation &seg, const EST_String &oname, const EST_String &nname)
EST_write_status save_ind_RelationList(const EST_String &filename, const EST_RelationList &plist, const EST_String &features, int path)
EST_TStringHash< EST_Relation * > EST_hashedRelationList
EST_Relation RelationList_combine(EST_RelationList &mlf)
A specialised hash table for when the key is an EST_String.
EST_read_status read_RelationList(EST_RelationList &mlf, EST_StrList &files, EST_Option &al)
EST_String options_relation_filetypes(void)
void quantize(EST_Relation &a, float q)
EST_write_status save_WordList(const EST_String &filename, const EST_RelationList &plist, int n)
void track_to_pm(const EST_Track &tr, int sample_rate, EST_Relation &lab)
bool hashed_RelationList_extract(EST_Relation *&rel, const EST_hashedRelationList &hash_table, const EST_String &filename, bool base)
int edit_labels(EST_Relation &a, EST_String sedfile)
void label_to_track(const EST_Relation &lab, const EST_Option &al, const EST_Option &op, EST_Track &tr)
void convert_to_broad(EST_Relation &seg, EST_StrList &pos_list, EST_String broad_name="", int polarity=1)
EST_Relation RelationList_extract(EST_RelationList &mlf, const EST_String &filename, bool base)
void relation_convert(EST_Relation &lab, EST_Option &al, EST_Option &op)
EST_write_status save_SentenceList(EST_String filename, EST_RelationList &plist, int n)
int merge_label(EST_Relation &seg, const EST_String &labtype)
float time(const EST_Item &item)
EST_TList< EST_Relation > EST_RelationList
EST_write_status save_RelationList(const EST_String &filename, const EST_RelationList &plist)
int relation_divide(EST_RelationList &mlf, EST_Relation &lab, EST_Relation &keylab, EST_String ext)
void track_to_label(const EST_Track &tr, EST_Relation &lab, float thresh=0.0)
void build_RelationList_hash_table(EST_RelationList &mlf, EST_hashedRelationList &hash_table, const bool base)
hashed relation lists for super speed
void shift_label(EST_Relation &seg, float shift)
float duration(EST_Item *n)
EST_Litem * RelationList_ptr_extract(EST_RelationList &mlf, const EST_String &filename, bool base)
EST_read_status load_RelationList(const EST_String &filename, EST_RelationList &plist)
void label_map(EST_Relation &seg, EST_Option &map)
void RelationList_select(EST_RelationList &mlf, EST_StrList filenames, bool exact_match)