diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-05-31 17:33:31 +0400 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-05-31 17:33:31 +0400 |
commit | 249c40ec74f182cf92600341ea07de6666a6281a (patch) | |
tree | c07793b80139dde5bf1457c4b909fc51c1039eee /moses/Sentence.h | |
parent | c4528753433dc6a8be5c50676504e1f68724f275 (diff) |
Eliminated factor delimiter from the parameters of
Phrase.CreateFromString() and Sentence.CreateFromString(),
as it was never used in those functions anyway ---
Word.CreateFromString() retrieves the factor delimiter
from StaticData directly.
Diffstat (limited to 'moses/Sentence.h')
-rw-r--r-- | moses/Sentence.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/Sentence.h b/moses/Sentence.h index d1a552bda..231ee85a5 100644 --- a/moses/Sentence.h +++ b/moses/Sentence.h @@ -97,8 +97,7 @@ public: TranslationOptionCollection* CreateTranslationOptionCollection() const; void CreateFromString(const std::vector<FactorType> &factorOrder - , const std::string &phraseString - , const std::string &factorDelimiter); + , const std::string &phraseString); // , const std::string &factorDelimiter); const NonTerminalSet &GetLabelSet(size_t /*startPos*/, size_t /*endPos*/) const { return m_defaultLabelSet; |