Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.cc « lm - github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d2c2d1a7ea86bb808eee4b9448e0593b931e1478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "config.hh"

#include <iostream>

namespace lm {
namespace ngram {

Config::Config() :
  show_progress(true),
  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(""),
  arpa_complain(ALL),
  write_mmap(NULL),
  write_method(WRITE_AFTER),
  include_vocab(true),
  rest_function(REST_MAX),
  prob_bits(8),
  backoff_bits(8),
  pointer_bhiksha_bits(22),
  load_method(util::POPULATE_OR_READ) {}

} // namespace ngram
} // namespace lm