#include <print.hh>
Public Member Functions | |
PrintARPA (int fd, bool verbose_header) | |
void | Sink (util::stream::Chains &chains) |
void | Run (const util::stream::ChainPositions &positions) |
Definition at line 104 of file print.hh.
lm::builder::PrintARPA::PrintARPA | ( | int | fd, | |
bool | verbose_header | |||
) | [inline, explicit] |
void lm::builder::PrintARPA::Run | ( | const util::stream::ChainPositions & | positions | ) |
Definition at line 30 of file print.cc.
References HeaderInfo::counts_pruned, util::scoped_fd::get(), lm::builder::OutputHook::GetHeader(), lm::builder::OutputHook::GetVocabFD(), HeaderInfo::input_file, lm::builder::VocabReconstitute::Lookup(), util::FixedArray< T >::size(), and HeaderInfo::token_count.
void lm::builder::PrintARPA::Sink | ( | util::stream::Chains & | chains | ) | [virtual] |