Class CorpusSQLite

Inheritance Relationships

Base Type

Class Documentation

class CorpusSQLite : public marian::data::CorpusBase

Public Functions

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