#include "lm/lm_exception.hh"
#include "lm/word_index.hh"
#include "lm/weights.hh"
#include "util/file_piece.hh"
#include <cstddef>
#include <iosfwd>
#include <vector>
Go to the source code of this file.
Classes | |
class | lm::PositiveProbWarn |
Namespaces | |
namespace | lm |
Functions | |
void | lm::ReadARPACounts (util::FilePiece &in, std::vector< uint64_t > &number) |
void | lm::ReadNGramHeader (util::FilePiece &in, unsigned int length) |
void | lm::ReadBackoff (util::FilePiece &in, Prob &) |
void | lm::ReadBackoff (util::FilePiece &in, float &backoff) |
void | lm::ReadBackoff (util::FilePiece &in, ProbBackoff &weights) |
void | lm::ReadBackoff (util::FilePiece &in, RestWeights &weights) |
void | lm::ReadEnd (util::FilePiece &in) |
template<class Voc , class Weights > | |
void | lm::Read1Gram (util::FilePiece &f, Voc &vocab, Weights *unigrams, PositiveProbWarn &warn) |
template<class Voc , class Weights > | |
void | lm::Read1Grams (util::FilePiece &f, std::size_t count, Voc &vocab, Weights *unigrams, PositiveProbWarn &warn) |
template<class Voc , class Weights , class Iterator > | |
void | lm::ReadNGram (util::FilePiece &f, const unsigned char n, const Voc &vocab, Iterator indices_out, Weights &weights, PositiveProbWarn &warn) |