#include <iostream>
#include <fstream>
#include <cmath>
#include "EST_types.h"
#include "EST_FMatrix.h"
#include "ling_class/EST_Relation.h"
#include "EST_Token.h"
#include "EST_string_aux.h"
#include "ling_class/EST_relation_aux.h"
#include "ling_class/EST_relation_compare.h"
#include "EST_io_aux.h"
Go to the source code of this file.
Definition at line 54 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 function_match | ( | EST_II_KVL & | u, |
EST_Relation & | a, | ||
EST_Relation & | b | ||
) |
Definition at line 86 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 compare_labels | ( | EST_Relation & | reflab, |
EST_Relation & | testlab | ||
) |
Definition at line 132 of file EST_relation_compare.cc.
EST_Item* nthpos | ( | EST_Relation & | a, |
int | n | ||
) |
Definition at line 174 of file EST_relation_compare.cc.
Definition at line 189 of file EST_relation_compare.cc.
Definition at line 201 of file EST_relation_compare.cc.
ssize_t lowest_pos | ( | const EST_FMatrix & | m, |
ssize_t | j | ||
) |
Definition at line 212 of file EST_relation_compare.cc.
void minimise_matrix_by_column | ( | EST_FMatrix & | m | ) |
Definition at line 227 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 matrix_ceiling | ( | EST_FMatrix & | m, |
float | max | ||
) |
Definition at line 260 of file EST_relation_compare.cc.
ssize_t matrix_insertions | ( | EST_FMatrix & | m | ) |
Definition at line 271 of file EST_relation_compare.cc.
ssize_t major_matrix_insertions | ( | EST_FMatrix & | m, |
EST_Relation & | ref_lab | ||
) |
Definition at line 284 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 major_matrix_deletions | ( | EST_FMatrix & | m, |
EST_Relation & | ref_lab | ||
) |
Definition at line 317 of file EST_relation_compare.cc.
Definition at line 338 of file EST_relation_compare.cc.
void threshold_labels | ( | EST_Relation & | reflab, |
float | t | ||
) |
Definition at line 353 of file EST_relation_compare.cc.
void multiple_labels | ( | EST_Relation & | reflab | ) |
Definition at line 386 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_matrix_compare | ( | EST_RelationList & | rlist, |
EST_RelationList & | tlist, | ||
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.
void error_location | ( | EST_Relation & | e, |
EST_FMatrix & | m, | ||
int | ref | ||
) |
Definition at line 591 of file EST_relation_compare.cc.
int insdel | ( | EST_II_KVL & | a | ) |
Definition at line 621 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.
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.
void reassign_links | ( | EST_Relation & | a, |
EST_II_KVL & | u, | ||
EST_String | stream_type | ||
) |
Definition at line 685 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 test_labels | ( | EST_Utterance & | ref, |
EST_Utterance & | test, | ||
EST_Option & | op | ||
) |
Definition at line 735 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 print_matrix_scores | ( | EST_Relation & | ref, |
EST_Relation & | test, | ||
EST_FMatrix & | a | ||
) |
Definition at line 846 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.
ssize_t column_hit | ( | EST_FMatrix & | m, |
ssize_t | c | ||
) |
Definition at line 896 of file EST_relation_compare.cc.
ssize_t num_b_insertions | ( | EST_FMatrix & | m, |
ssize_t | last, | ||
ssize_t | current | ||
) |
Definition at line 906 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.
void print_s_trans | ( | EST_Relation & | a, |
int | width | ||
) |
Definition at line 924 of file EST_relation_compare.cc.
void make_hit_and_miss | ( | EST_Relation & | a | ) |
Definition at line 942 of file EST_relation_compare.cc.
void pos_only | ( | EST_Relation & | lab | ) |
Definition at line 958 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 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.