Edinburgh Speech Tools  2.1-release
EST_relation_compare.h File Reference
#include <cstdlib>
#include "EST_Item.h"
#include "EST_Relation.h"
#include "EST_String.h"
#include "EST_Option.h"
#include "EST_Utterance.h"
Include dependency graph for EST_relation_compare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float label_distance1 (EST_Item &ref, EST_Item &test)
 
EST_Itemnthpos (EST_Relation &a, int n)
 
void compare_labels (EST_Relation &reflab, EST_Relation &testlab)
 
void relation_match (EST_Relation &a, EST_Relation &b)
 
void function_match (EST_II_KVL &u, EST_Relation &a, EST_Relation &b)
 
void monotonic_match (EST_II_KVL &a, EST_II_KVL &b)
 
void show_links (EST_Relation &a, EST_Relation &b)
 
int close_enough (EST_Item &a, EST_Item &b)
 
ssize_t matrix_deletions (EST_FMatrix &m)
 
ssize_t matrix_insertions (EST_FMatrix &m)
 
void matrix_ceiling (EST_FMatrix &m, float max)
 
void minimise_matrix_by_row (EST_FMatrix &m)
 
void minimise_matrix_by_column (EST_FMatrix &m)
 
ssize_t lowest_pos (EST_FMatrix &m, ssize_t j)
 
float label_distance2 (EST_Item &ref, EST_Item &test)
 
void print_results (EST_Relation &ref, EST_Relation &test, EST_FMatrix &m, int tot, int del, int ins, int v)
 
void print_aligned_trans (EST_Relation &ref, EST_Relation &test, EST_FMatrix &m)
 
void pos_only (EST_Relation &a)
 
void print_s_trans (EST_Relation &a, int width=3)
 
int num_b_deletions (EST_FMatrix &m, int last, int current)
 
int num_b_insertions (EST_FMatrix &m, int last, int current)
 
ssize_t column_hit (EST_FMatrix &m, ssize_t c)
 
ssize_t row_hit (EST_FMatrix &m, ssize_t r)
 
void print_matrix_scores (EST_Relation &ref, EST_Relation &test, EST_FMatrix &a)
 
void print_i_d_scores (EST_FMatrix &m)
 
void test_labels (EST_Utterance &ref, EST_Utterance &test, EST_Option &op)
 
int commutate (EST_Item *a_ptr, EST_II_KVL &f1, EST_II_KVL &f2, EST_II_KVL &lref, EST_II_KVL &ltest)
 
void reassign_links (EST_Relation &a, EST_II_KVL &u, EST_String stream_type)
 
void reassign_links (EST_Relation &a, EST_Relation &b, EST_II_KVL &ua, EST_II_KVL &ub)
 
int compare_labels (EST_Utterance &ref, EST_Utterance &test, EST_String name, EST_II_KVL &uref, EST_II_KVL &utest)
 
int insdel (EST_II_KVL &a)
 
void error_location (EST_Relation &e, EST_FMatrix &m, int ref)
 
void multiple_matrix_compare (EST_TList< EST_Relation > &rmlf, EST_TList< EST_Relation > &tmlf, EST_FMatrix &m, EST_String rpos, EST_String tpos, int method, float t, int v)
 
EST_FMatrix matrix_compare (EST_Relation &reflab, EST_Relation &testlab, int method, float t, int v)
 
void multiple_labels (EST_Relation &reflab)
 
void threshold_labels (EST_Relation &reflab, float t)
 

Function Documentation

float label_distance1 ( EST_Item ref,
EST_Item test 
)

Definition at line 189 of file EST_relation_compare.cc.

EST_Item* nthpos ( EST_Relation a,
int  n 
)

Definition at line 174 of file EST_relation_compare.cc.

void compare_labels ( EST_Relation reflab,
EST_Relation testlab 
)

Definition at line 132 of file EST_relation_compare.cc.

void relation_match ( EST_Relation a,
EST_Relation b 
)

Definition at line 109 of file EST_relation_compare.cc.

void function_match ( EST_II_KVL u,
EST_Relation a,
EST_Relation b 
)

Definition at line 86 of file EST_relation_compare.cc.

void monotonic_match ( EST_II_KVL a,
EST_II_KVL b 
)

Definition at line 60 of file EST_relation_compare.cc.

void show_links ( EST_Relation a,
EST_Relation b 
)
int close_enough ( EST_Item a,
EST_Item b 
)

Definition at line 54 of file EST_relation_compare.cc.

ssize_t matrix_deletions ( EST_FMatrix m)

Definition at line 304 of file EST_relation_compare.cc.

ssize_t matrix_insertions ( EST_FMatrix m)

Definition at line 271 of file EST_relation_compare.cc.

void matrix_ceiling ( EST_FMatrix m,
float  max 
)

Definition at line 260 of file EST_relation_compare.cc.

void minimise_matrix_by_row ( EST_FMatrix m)

Definition at line 243 of file EST_relation_compare.cc.

void minimise_matrix_by_column ( EST_FMatrix m)

Definition at line 227 of file EST_relation_compare.cc.

ssize_t lowest_pos ( EST_FMatrix m,
ssize_t  j 
)
float label_distance2 ( EST_Item ref,
EST_Item test 
)

Definition at line 201 of file EST_relation_compare.cc.

void print_results ( EST_Relation ref,
EST_Relation test,
EST_FMatrix m,
int  tot,
int  del,
int  ins,
int  v 
)

Definition at line 1061 of file EST_relation_compare.cc.

void print_aligned_trans ( EST_Relation ref,
EST_Relation test,
EST_FMatrix m 
)

Definition at line 971 of file EST_relation_compare.cc.

void pos_only ( EST_Relation a)

Definition at line 958 of file EST_relation_compare.cc.

void print_s_trans ( EST_Relation a,
int  width = 3 
)

Definition at line 924 of file EST_relation_compare.cc.

int num_b_deletions ( EST_FMatrix m,
int  last,
int  current 
)

Definition at line 915 of file EST_relation_compare.cc.

int num_b_insertions ( EST_FMatrix m,
int  last,
int  current 
)

Definition at line 906 of file EST_relation_compare.cc.

ssize_t column_hit ( EST_FMatrix m,
ssize_t  c 
)

Definition at line 896 of file EST_relation_compare.cc.

ssize_t row_hit ( EST_FMatrix m,
ssize_t  r 
)

Definition at line 885 of file EST_relation_compare.cc.

void print_matrix_scores ( EST_Relation ref,
EST_Relation test,
EST_FMatrix a 
)

Definition at line 846 of file EST_relation_compare.cc.

void print_i_d_scores ( EST_FMatrix m)

Definition at line 829 of file EST_relation_compare.cc.

void test_labels ( EST_Utterance ref,
EST_Utterance test,
EST_Option op 
)

Definition at line 735 of file EST_relation_compare.cc.

int commutate ( EST_Item a_ptr,
EST_II_KVL f1,
EST_II_KVL f2,
EST_II_KVL lref,
EST_II_KVL ltest 
)

Definition at line 703 of file EST_relation_compare.cc.

void reassign_links ( EST_Relation a,
EST_II_KVL u,
EST_String  stream_type 
)

Definition at line 685 of file EST_relation_compare.cc.

void reassign_links ( EST_Relation a,
EST_Relation b,
EST_II_KVL ua,
EST_II_KVL ub 
)

Definition at line 660 of file EST_relation_compare.cc.

int compare_labels ( EST_Utterance ref,
EST_Utterance test,
EST_String  name,
EST_II_KVL uref,
EST_II_KVL utest 
)

Definition at line 632 of file EST_relation_compare.cc.

int insdel ( EST_II_KVL a)

Definition at line 621 of file EST_relation_compare.cc.

void error_location ( EST_Relation e,
EST_FMatrix m,
int  ref 
)

Definition at line 591 of file EST_relation_compare.cc.

void multiple_matrix_compare ( EST_TList< EST_Relation > &  rmlf,
EST_TList< EST_Relation > &  tmlf,
EST_FMatrix m,
EST_String  rpos,
EST_String  tpos,
int  method,
float  t,
int  v 
)

Definition at line 513 of file EST_relation_compare.cc.

EST_FMatrix matrix_compare ( EST_Relation reflab,
EST_Relation testlab,
int  method,
float  t,
int  v 
)

Definition at line 448 of file EST_relation_compare.cc.

void multiple_labels ( EST_Relation reflab)

Definition at line 386 of file EST_relation_compare.cc.

void threshold_labels ( EST_Relation reflab,
float  t 
)

Definition at line 353 of file EST_relation_compare.cc.