mosesdecoder/lm/config.cc
2011-11-17 12:49:55 +00:00

28 lines
601 B
C++

#include "lm/config.hh"
#include <iostream>
namespace lm {
namespace ngram {
Config::Config() :
messages(&std::cerr),
enumerate_vocab(NULL),
unknown_missing(COMPLAIN),
sentence_marker_missing(THROW_UP),
positive_log_probability(THROW_UP),
unknown_missing_logprob(-100.0),
probing_multiplier(1.5),
building_memory(1073741824ULL), // 1 GB
temporary_directory_prefix(NULL),
arpa_complain(ALL),
write_mmap(NULL),
include_vocab(true),
prob_bits(8),
backoff_bits(8),
pointer_bhiksha_bits(22),
load_method(util::POPULATE_OR_READ) {}
} // namespace ngram
} // namespace lm