Class TextInput

Inheritance Relationships

Base Type

Class Documentation

class TextInput : public marian::data::DatasetBase<SentenceTuple, TextIterator, CorpusBatch>

Public Functions

TextInput(std::vector<std::string> inputs, std::vector<Ptr<Vocab>> vocabs, Ptr<Options> options)
virtual ~TextInput()
SentenceTuple next()
void shuffle()
void reset()
iterator begin()
iterator end()
batch_ptr toBatch(const std::vector<SentenceTuple> &batchVector)
void prepare()