lm::builder::VocabReconstitute Class Reference

#include <print.hh>

Collaboration diagram for lm::builder::VocabReconstitute:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 VocabReconstitute (int fd)
const char * Lookup (WordIndex index) const
StringPiece LookupPiece (WordIndex index) const
std::size_t Size () const


Detailed Description

Definition at line 24 of file print.hh.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

const char* lm::builder::VocabReconstitute::Lookup ( WordIndex  index  )  const [inline]

Definition at line 29 of file print.hh.

Referenced by lm::builder::PrintARPA::Run().

Here is the caller graph for this function:

StringPiece lm::builder::VocabReconstitute::LookupPiece ( WordIndex  index  )  const [inline]

Definition at line 34 of file print.hh.

std::size_t lm::builder::VocabReconstitute::Size (  )  const [inline]

Definition at line 38 of file print.hh.


The documentation for this class was generated from the following files:

Generated on Thu Aug 27 00:32:39 2015 for Moses by  doxygen 1.5.9