TERCPPNS_TERCpp::terAlignment Class Reference

#include <terAlignment.h>

Collaboration diagram for TERCPPNS_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 ()
string printAlignments ()
string printAllShifts ()
void set (terAlignment &l_terAlignment)
void set (terAlignment *l_terAlignment)

Public Attributes

vector< string > ref
vector< string > hyp
vector< string > aftershift
vector< terShiftallshifts
vector< int > hyp_int
vector< int > aftershift_int
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 37 of file terAlignment.h.


Constructor & Destructor Documentation

TERCPPNS_TERCpp::terAlignment::terAlignment (  ) 

Definition at line 27 of file terAlignment.cpp.

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


Member Function Documentation

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

Definition at line 134 of file terAlignment.cpp.

Referenced by TERCPPNS_TERCpp::terCalc::findBestShift(), and toString().

Here is the caller graph for this function:

string TERCPPNS_TERCpp::terAlignment::printAlignments (  ) 

Definition at line 202 of file terAlignment.cpp.

References alignment.

string TERCPPNS_TERCpp::terAlignment::printAllShifts (  ) 

Definition at line 219 of file terAlignment.cpp.

References allshifts.

double TERCPPNS_TERCpp::terAlignment::score (  ) 

Definition at line 151 of file terAlignment.cpp.

References numEdits, and numWords.

double TERCPPNS_TERCpp::terAlignment::scoreAv (  ) 

Definition at line 161 of file terAlignment.cpp.

References averageWords, and numEdits.

Referenced by toString().

Here is the caller graph for this function:

void TERCPPNS_TERCpp::terAlignment::scoreDetails (  ) 

Definition at line 172 of file terAlignment.cpp.

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

void TERCPPNS_TERCpp::terAlignment::set ( terAlignment l_terAlignment  ) 

void TERCPPNS_TERCpp::terAlignment::set ( terAlignment l_terAlignment  ) 

string TERCPPNS_TERCpp::terAlignment::toString (  ) 


Member Data Documentation

Definition at line 47 of file terAlignment.h.

Referenced by set().

Definition at line 53 of file terAlignment.h.

Referenced by set().

Definition at line 46 of file terAlignment.h.

Referenced by set().

Definition at line 56 of file terAlignment.h.

Referenced by scoreDetails(), set(), and terAlignment().

Definition at line 55 of file terAlignment.h.

Referenced by scoreDetails(), set(), and terAlignment().

Definition at line 58 of file terAlignment.h.

Referenced by scoreDetails(), set(), and terAlignment().

Definition at line 57 of file terAlignment.h.

Referenced by scoreDetails(), set(), and terAlignment().

Definition at line 59 of file terAlignment.h.

Referenced by scoreDetails(), set(), and terAlignment().


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

Generated on Thu Jul 6 00:34:46 2017 for Moses by  doxygen 1.5.9