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

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2020-08-29 18:42:18 +0300
committerKenneth Heafield <github@kheafield.com>2020-08-29 18:42:18 +0300
commit7f623adcab0e52cca7fa123efc9d3828c438524f (patch)
treef4c852cc2928b0398950433c750e1839cb4695ec
parentcb922176a8c6679a6a86807cfaf27a4bf5bd8dd7 (diff)
Retain pruned file name in CorpusCount instead of reference
-rw-r--r--lm/builder/corpus_count.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lm/builder/corpus_count.hh b/lm/builder/corpus_count.hh
index bf1cfc8..951bf53 100644
--- a/lm/builder/corpus_count.hh
+++ b/lm/builder/corpus_count.hh
@@ -42,8 +42,8 @@ class CorpusCount {
bool dynamic_vocab_;
uint64_t &token_count_;
WordIndex &type_count_;
- std::vector<bool>& prune_words_;
- const std::string& prune_vocab_filename_;
+ std::vector<bool> &prune_words_;
+ const std::string prune_vocab_filename_;
std::size_t dedupe_mem_size_;
util::scoped_malloc dedupe_mem_;