Class Hypothesis

Class Documentation

class Hypothesis

Public Types

typedef IPtr<Hypothesis> PtrType
typedef data::SoftAlignment SoftAlignment

Public Functions

const PtrType getPrevHyp() const
Word getWord() const
size_t getPrevStateIndex() const
float getPathScore() const
const std::vector<float> &getScoreBreakdown()
void setScoreBreakdown(const std::vector<float> &scoreBreakdown)
const std::vector<float> &getAlignment()
void setAlignment(const std::vector<float> &align)
Words tracebackWords()
std::vector<float> tracebackWordScores()
SoftAlignment tracebackAlignment()

Public Static Functions

template<class ...Args>
static PtrType New(Args&&... args)