#ifndef MERT_TER_TER_ALIGNMENT_H_ #define MERT_TER_TER_ALIGNMENT_H_ #include #include #include #include "tools.h" #include "terShift.h" using namespace std; // using namespace HashMapSpace; namespace TERCpp { class terAlignment { private: public: terAlignment(); string toString(); void scoreDetails(); vector ref; vector hyp; vector aftershift; vector allshifts; double numEdits; double numWords; double averageWords; vector alignment; string bestRef; int numIns; int numDel; int numSub; int numSft; int numWsf; string join ( string delim, vector arr ); double score(); double scoreAv(); }; } #endif // MERT_TER_TER_ALIGNMENT_H__