diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-08 14:30:07 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2015-01-08 14:30:07 +0300 |
commit | 3f1cb319cd696660c1c24ba682a0399b41dfc7c4 (patch) | |
tree | 9cba9b8a0d3b002a5cd332be780a2e7344ef7b9f /moses/Sentence.h | |
parent | 6b73d1b8f4d6638fbf2d0e41b83cc794c94a2a0e (diff) |
Added TabbedSentence and first attempt at external VW features
Diffstat (limited to 'moses/Sentence.h')
-rw-r--r-- | moses/Sentence.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/Sentence.h b/moses/Sentence.h index 231ee85a5..998123d19 100644 --- a/moses/Sentence.h +++ b/moses/Sentence.h @@ -91,12 +91,12 @@ public: void GetXmlTranslationOptions(std::vector <TranslationOption*> &list, size_t startPos, size_t endPos) const; std::vector <ChartTranslationOptions*> GetXmlChartTranslationOptions() const; - int Read(std::istream& in,const std::vector<FactorType>& factorOrder); + virtual int Read(std::istream& in,const std::vector<FactorType>& factorOrder); void Print(std::ostream& out) const; TranslationOptionCollection* CreateTranslationOptionCollection() const; - void CreateFromString(const std::vector<FactorType> &factorOrder + virtual void CreateFromString(const std::vector<FactorType> &factorOrder , const std::string &phraseString); // , const std::string &factorDelimiter); const NonTerminalSet &GetLabelSet(size_t /*startPos*/, size_t /*endPos*/) const { |