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
diff options
context:
space:
mode:
Diffstat (limited to 'moses/FF/TargetBigramFeature.h')
-rw-r--r--moses/FF/TargetBigramFeature.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/FF/TargetBigramFeature.h b/moses/FF/TargetBigramFeature.h
index d90c6276a..5e36a542f 100644
--- a/moses/FF/TargetBigramFeature.h
+++ b/moses/FF/TargetBigramFeature.h
@@ -33,7 +33,7 @@ class TargetBigramFeature : public StatefulFeatureFunction
public:
TargetBigramFeature(const std::string &line);
- bool Load(const std::string &filePath);
+ void Load();
bool IsUseable(const FactorMask &mask) const;
@@ -47,10 +47,12 @@ public:
ScoreComponentCollection* ) const {
abort();
}
+ bool OverrideParameter(const std::string& key, const std::string& value);
private:
FactorType m_factorType;
Word m_bos;
+ std::string m_filePath;
boost::unordered_set<std::string> m_vocab;
};