summaryrefslogtreecommitdiff
path: root/klm/lm/model.hh
diff options
context:
space:
mode:
Diffstat (limited to 'klm/lm/model.hh')
-rw-r--r--klm/lm/model.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/klm/lm/model.hh b/klm/lm/model.hh
index 53e5773d..8183bdf5 100644
--- a/klm/lm/model.hh
+++ b/klm/lm/model.hh
@@ -102,14 +102,14 @@ template <class Search, class VocabularyT> class GenericModel : public base::Mod
float SlowBackoffLookup(const WordIndex *const context_rbegin, const WordIndex *const context_rend, unsigned char start) const;
- FullScoreReturn ScoreExceptBackoff(const WordIndex *context_rbegin, const WordIndex *context_rend, const WordIndex new_word, unsigned char &backoff_start, State &out_state) const;
+ FullScoreReturn ScoreExceptBackoff(const WordIndex *context_rbegin, const WordIndex *context_rend, const WordIndex new_word, State &out_state) const;
// Appears after Size in the cc file.
void SetupMemory(void *start, const std::vector<uint64_t> &counts, const Config &config);
void InitializeFromBinary(void *start, const Parameters &params, const Config &config, int fd);
- void InitializeFromARPA(const char *file, util::FilePiece &f, void *start, const Parameters &params, const Config &config);
+ void InitializeFromARPA(const char *file, const Config &config);
Backing &MutableBacking() { return backing_; }