Class CorpusNBest

Inheritance Relationships

Base Type

Class Documentation

class CorpusNBest : public marian::data::CorpusBase

Public Functions

CorpusNBest(Ptr<Options> options, bool translate = false)
CorpusNBest(std::vector<std::string> paths, std::vector<Ptr<Vocab>> vocabs, Ptr<Options> options)
SentenceTuple next()
void shuffle()
void reset()
void restore(Ptr<TrainingState>)
iterator begin()
iterator end()
std::vector<Ptr<Vocab>> &getVocabs()
batch_ptr toBatch(const std::vector<Sample> &batchVector)