diff options
author | Kenneth Heafield <github@kheafield.com> | 2020-08-29 18:42:18 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2020-08-29 18:42:18 +0300 |
commit | 7f623adcab0e52cca7fa123efc9d3828c438524f (patch) | |
tree | f4c852cc2928b0398950433c750e1839cb4695ec | |
parent | cb922176a8c6679a6a86807cfaf27a4bf5bd8dd7 (diff) |
Retain pruned file name in CorpusCount instead of reference
-rw-r--r-- | lm/builder/corpus_count.hh | 4 |
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_; |