Skip to content

Commit

Permalink
Retain pruned file name in CorpusCount instead of reference
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Aug 29, 2020
1 parent cb92217 commit 7f623ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lm/builder/corpus_count.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 7f623ad

Please sign in to comment.