#include <cstdlib>
#include <iostream>
#include <fstream>
#include <cmath>
#include "EST_types.h"
#include "ling_class/EST_Relation.h"
#include "ling_class/EST_relation_aux.h"
#include "EST_string_aux.h"
#include "EST_io_aux.h"
#include "EST_Option.h"
#include "EST_Token.h"
Go to the source code of this file.
bool dp_match | ( | const EST_Relation & | lexical, |
const EST_Relation & | surface, | ||
EST_Relation & | match, | ||
float | ins, | ||
float | del, | ||
float | sub | ||
) |
Definition at line 134 of file dynamic_program.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 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 extract | ( | const EST_Relation & | orig, |
float | s, | ||
float | e, | ||
EST_Relation & | ex | ||
) |
Definition at line 141 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 change_label | ( | EST_Relation & | seg, |
const EST_String & | oname, | ||
const EST_String & | nname | ||
) |
Definition at line 169 of file EST_relation_aux.cc.
void change_label | ( | EST_Relation & | seg, |
const EST_StrList & | oname, | ||
const EST_String & | nname | ||
) |
Definition at line 179 of file EST_relation_aux.cc.
int check_vocab | ( | EST_Relation & | a, |
EST_StrList & | vocab | ||
) |
Definition at line 202 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.
void convert_to_broad | ( | EST_Relation & | seg, |
EST_StrList & | pos_list, | ||
EST_String | broad_name, | ||
int | polarity | ||
) |
Definition at line 232 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 shift_label | ( | EST_Relation & | seg, |
float | shift | ||
) |
Definition at line 264 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 & | slist, |
EST_Relation & | lab, | ||
EST_Relation & | keylab, | ||
EST_StrList & | blank, | ||
EST_String | ext | ||
) |
Definition at line 397 of file EST_relation_aux.cc.
int relation_divide2 | ( | EST_RelationList & | mlf, |
EST_Relation & | lab, | ||
EST_Relation & | keylab, | ||
EST_String | ext | ||
) |
Definition at line 478 of file EST_relation_aux.cc.
void map_match_times | ( | EST_Relation & | target, |
const EST_String & | match_name, | ||
const EST_String & | time_name, | ||
bool | do_start | ||
) |
Definition at line 524 of file EST_relation_aux.cc.
void dp_time_align | ( | EST_Utterance & | utt, |
const EST_String & | source_name, | ||
const EST_String & | target_name, | ||
const EST_String & | time_name, | ||
bool | do_start | ||
) |
Definition at line 593 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.
void print_relation_features | ( | EST_Relation & | stream | ) |
Definition at line 671 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.