#include <print.hh>
Public Member Functions | |
VocabReconstitute (int fd) | |
const char * | Lookup (WordIndex index) const |
StringPiece | LookupPiece (WordIndex index) const |
std::size_t | Size () const |
Definition at line 24 of file print.hh.
lm::builder::VocabReconstitute::VocabReconstitute | ( | int | fd | ) | [explicit] |
Definition at line 14 of file print.cc.
References util::scoped_memory::get(), util::MapRead(), util::POPULATE_OR_READ, and util::SizeOrThrow().
const char* lm::builder::VocabReconstitute::Lookup | ( | WordIndex | index | ) | const [inline] |
Definition at line 29 of file print.hh.
Referenced by lm::builder::PrintARPA::Run().
StringPiece lm::builder::VocabReconstitute::LookupPiece | ( | WordIndex | index | ) | const [inline] |
std::size_t lm::builder::VocabReconstitute::Size | ( | ) | const [inline] |