TERCpp::terAlignment Class Reference

#include <terAlignment.h>

Collaboration diagram for TERCpp::terAlignment:

Collaboration graph
[legend]

List of all members.

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< terShiftallshifts
double numEdits
double numWords
double averageWords
vector< char > alignment
string bestRef
int numIns
int numDel
int numSub
int numSft
int numWsf


Detailed Description

Definition at line 16 of file terAlignment.h.


Constructor & Destructor Documentation

TERCpp::terAlignment::terAlignment (  ) 

Definition at line 7 of file terAlignment.cpp.

References bestRef, numDel, numEdits, numIns, numSft, numSub, numWords, and numWsf.


Member Function Documentation

string TERCpp::terAlignment::join ( string  delim,
vector< string >  arr 
)

Definition at line 62 of file terAlignment.cpp.

Referenced by TERCpp::terCalc::CalcBestShift(), and toString().

Here is the caller graph for this function:

double TERCpp::terAlignment::score (  ) 

Definition at line 79 of file terAlignment.cpp.

References numEdits, and numWords.

double TERCpp::terAlignment::scoreAv (  ) 

Definition at line 89 of file terAlignment.cpp.

References averageWords, and numEdits.

Referenced by toString().

Here is the caller graph for this function:

void TERCpp::terAlignment::scoreDetails (  ) 

Definition at line 100 of file terAlignment.cpp.

References alignment, allshifts, numDel, numIns, numSft, numSub, and numWsf.

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 27 of file terAlignment.h.

Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::TER(), and toString().

Definition at line 29 of file terAlignment.h.

Referenced by scoreDetails(), TERCpp::terCalc::TER(), and toString().

Definition at line 33 of file terAlignment.h.

Referenced by scoreAv(), and toString().

Definition at line 35 of file terAlignment.h.

Referenced by terAlignment().

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 38 of file terAlignment.h.

Referenced by scoreDetails(), and terAlignment().

Definition at line 37 of file terAlignment.h.

Referenced by scoreDetails(), and terAlignment().

Definition at line 40 of file terAlignment.h.

Referenced by scoreDetails(), and terAlignment().

Definition at line 39 of file terAlignment.h.

Referenced by scoreDetails(), and terAlignment().

Definition at line 32 of file terAlignment.h.

Referenced by TERCpp::terCalc::MinEditDist(), score(), and terAlignment().

Definition at line 41 of file terAlignment.h.

Referenced by scoreDetails(), 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().


The documentation for this class was generated from the following files:

Generated on Thu Jun 4 00:33:17 2015 for Moses by  doxygen 1.5.9