#include "lm/config.hh"
#include "lm/model_type.hh"
#include "lm/read_arpa.hh"
#include "util/file_piece.hh"
#include "util/mmap.hh"
#include "util/scoped.hh"
#include <cstddef>
#include <vector>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | lm::ngram::FixedWidthParameters |
struct | lm::ngram::Parameters |
class | lm::ngram::BinaryFormat |
Namespaces | |
namespace | lm |
namespace | lm::ngram |
Defines | |
#define | ALIGN8(a) ((std::ptrdiff_t(((a)-1)/8)+1)*8) |
Functions | |
bool | lm::ngram::RecognizeBinary (const char *file, ModelType &recognized) |
bool | lm::ngram::IsBinaryFormat (int fd) |
#define ALIGN8 | ( | a | ) | ((std::ptrdiff_t(((a)-1)/8)+1)*8) |
Definition at line 39 of file binary_format.hh.
Referenced by lm::ngram::ProbingVocabulary::Relocate(), lm::ngram::ProbingVocabulary::SetupMemory(), and lm::ngram::ProbingVocabulary::Size().