/disk4/html/www/moses/doxygen/mosesdecoder/lm/model.hh File Reference

#include "lm/bhiksha.hh"
#include "lm/binary_format.hh"
#include "lm/config.hh"
#include "lm/facade.hh"
#include "lm/quantize.hh"
#include "lm/search_hashed.hh"
#include "lm/search_trie.hh"
#include "lm/state.hh"
#include "lm/value.hh"
#include "lm/vocab.hh"
#include "lm/weights.hh"
#include "util/murmur_hash.hh"
#include <algorithm>
#include <vector>
#include <cstring>

Go to the source code of this file.

Classes

class  lm::ngram::detail::GenericModel< Search, VocabularyT >

Namespaces

namespace  util
namespace  lm
namespace  lm::ngram
namespace  lm::ngram::detail

Defines

#define LM_COMMA()   ,
#define LM_NAME_MODEL(name, from)

Typedefs

typedef
::lm::ngram::ProbingVocabulary 
lm::ngram::Vocabulary
typedef ProbingModel lm::ngram::Model

Functions

 lm::ngram::LM_NAME_MODEL (ProbingModel, detail::GenericModel< detail::HashedSearch< BackoffValue > LM_COMMA() ProbingVocabulary >)
 lm::ngram::LM_NAME_MODEL (RestProbingModel, detail::GenericModel< detail::HashedSearch< RestValue > LM_COMMA() ProbingVocabulary >)
 lm::ngram::LM_NAME_MODEL (TrieModel, detail::GenericModel< trie::TrieSearch< DontQuantize LM_COMMA() trie::DontBhiksha > LM_COMMA() SortedVocabulary >)
 lm::ngram::LM_NAME_MODEL (ArrayTrieModel, detail::GenericModel< trie::TrieSearch< DontQuantize LM_COMMA() trie::ArrayBhiksha > LM_COMMA() SortedVocabulary >)
 lm::ngram::LM_NAME_MODEL (QuantTrieModel, detail::GenericModel< trie::TrieSearch< SeparatelyQuantize LM_COMMA() trie::DontBhiksha > LM_COMMA() SortedVocabulary >)
 lm::ngram::LM_NAME_MODEL (QuantArrayTrieModel, detail::GenericModel< trie::TrieSearch< SeparatelyQuantize LM_COMMA() trie::ArrayBhiksha > LM_COMMA() SortedVocabulary >)
base::Model * lm::ngram::LoadVirtual (const char *file_name, const Config &config, ModelType model_type)


Define Documentation

 
#define LM_COMMA (  )     ,

Definition at line 129 of file model.hh.

#define LM_NAME_MODEL ( name,
from   ) 

Value:

class name : public from {\
  public:\
    name(const char *file, const Config &config = Config()) : from(file, config) {}\
};

Definition at line 130 of file model.hh.


Generated on Thu Jul 6 00:31:25 2017 for Moses by  doxygen 1.5.9