#include <terAlignment.h>
Public Member Functions | |
terAlignment () | |
string | toString () |
void | scoreDetails () |
string | join (string delim, vector< string > arr) |
double | score () |
double | scoreAv () |
Public Attributes | |
vector< string > | ref |
vector< string > | hyp |
vector< string > | aftershift |
vector< terShift > | allshifts |
double | numEdits |
double | numWords |
double | averageWords |
vector< char > | alignment |
string | bestRef |
int | numIns |
int | numDel |
int | numSub |
int | numSft |
int | numWsf |
Definition at line 16 of file terAlignment.h.
TERCpp::terAlignment::terAlignment | ( | ) |
string TERCpp::terAlignment::join | ( | string | delim, | |
vector< string > | arr | |||
) |
Definition at line 62 of file terAlignment.cpp.
Referenced by TERCpp::terCalc::CalcBestShift(), and toString().
double TERCpp::terAlignment::score | ( | ) |
double TERCpp::terAlignment::scoreAv | ( | ) |
Definition at line 89 of file terAlignment.cpp.
References averageWords, and numEdits.
Referenced by toString().
void TERCpp::terAlignment::scoreDetails | ( | ) |
string TERCpp::terAlignment::toString | ( | ) |
Definition at line 25 of file terAlignment.cpp.
References aftershift, alignment, allshifts, averageWords, hyp, join(), numEdits, ref, and scoreAv().
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::FindAlignErr(), TERCpp::terCalc::MinEditDist(), and TERCpp::terCalc::TER().
vector<string> TERCpp::terAlignment::aftershift |
Definition at line 27 of file terAlignment.h.
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::TER(), and toString().
vector<char> TERCpp::terAlignment::alignment |
Definition at line 34 of file terAlignment.h.
Referenced by TERCpp::terCalc::FindAlignErr(), TERCpp::terCalc::MinEditDist(), scoreDetails(), TERCpp::terCalc::TER(), and toString().
Definition at line 29 of file terAlignment.h.
Referenced by scoreDetails(), TERCpp::terCalc::TER(), and toString().
vector<string> TERCpp::terAlignment::hyp |
Definition at line 26 of file terAlignment.h.
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::TER(), and toString().
Definition at line 31 of file terAlignment.h.
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::MinEditDist(), score(), scoreAv(), TERCpp::terCalc::TER(), terAlignment(), and toString().
Definition at line 32 of file terAlignment.h.
Referenced by TERCpp::terCalc::MinEditDist(), score(), and terAlignment().
vector<string> TERCpp::terAlignment::ref |
Definition at line 25 of file terAlignment.h.
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::TER(), and toString().