summaryrefslogtreecommitdiff
path: root/klm/lm/vocab.hh
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2011-11-03 20:08:43 +0000
committerKenneth Heafield <github@kheafield.com>2011-11-03 20:08:43 +0000
commitbdd7fe7b513ade0b979fc050766e375044e84e86 (patch)
tree91530187d46f2d6794677da141456e897b3ca08f /klm/lm/vocab.hh
parent635a8d31de50b5514cb471cb79bbe2cd3f23b0b5 (diff)
Mostly minor changes like a missing header guard and bad documentation
Diffstat (limited to 'klm/lm/vocab.hh')
-rw-r--r--klm/lm/vocab.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/klm/lm/vocab.hh b/klm/lm/vocab.hh
index 4cf68196..3c3414fb 100644
--- a/klm/lm/vocab.hh
+++ b/klm/lm/vocab.hh
@@ -66,7 +66,6 @@ class SortedVocabulary : public base::Vocabulary {
static size_t Size(std::size_t entries, const Config &config);
// Vocab words are [0, Bound()) Only valid after FinishedLoading/LoadedBinary.
- // While this number is correct, ProbingVocabulary::Bound might not be correct in some cases.
WordIndex Bound() const { return bound_; }
// Everything else is for populating. I'm too lazy to hide and friend these, but you'll only get a const reference anyway.