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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses/FF
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2016-03-24 00:28:55 +0300
committerKenneth Heafield <github@kheafield.com>2016-03-24 00:28:55 +0300
commit90b772734c1fce361d25508ece02334fd248614b (patch)
tree742fe07624cc887f56f6457725c82df95a47b385 /moses/FF
parent4c07496eb2c5d21ca238abdcad11fad7b93657d4 (diff)
Delete unnecessary virtual
Diffstat (limited to 'moses/FF')
-rw-r--r--moses/FF/OSM-Feature/KenOSM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/FF/OSM-Feature/KenOSM.h b/moses/FF/OSM-Feature/KenOSM.h
index 03deead07..4975b559b 100644
--- a/moses/FF/OSM-Feature/KenOSM.h
+++ b/moses/FF/OSM-Feature/KenOSM.h
@@ -27,18 +27,18 @@ public:
KenOSM(const std::string& file)
: m_kenlm(new KenModel(file.c_str())) {}
- virtual float Score(const lm::ngram::State &in_state,
+ float Score(const lm::ngram::State &in_state,
const std::string& word,
lm::ngram::State &out_state) const {
return m_kenlm->Score(in_state, m_kenlm->GetVocabulary().Index(word),
out_state);
}
- virtual const lm::ngram::State &BeginSentenceState() const {
+ const lm::ngram::State &BeginSentenceState() const {
return m_kenlm->BeginSentenceState();
}
- virtual const lm::ngram::State &NullContextState() const {
+ const lm::ngram::State &NullContextState() const {
return m_kenlm->NullContextState();
}