diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-03-08 23:10:28 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-03-08 23:10:28 +0400 |
commit | 9298402dcf75bf08364f877750919312e7e80a29 (patch) | |
tree | 501b6b9bdadf0800d1a9d90593dc3090045f65f3 /moses/Phrase.h | |
parent | d015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff) |
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index 13401a487..dcf3f9623 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -70,9 +70,11 @@ public: * \param phraseString formatted input string to parse * \param factorDelimiter delimiter between factors. */ - void CreateFromString(const std::vector<FactorType> &factorOrder + void CreateFromString(FactorDirection direction + , const std::vector<FactorType> &factorOrder , const StringPiece &phraseString - , const StringPiece &factorDelimiter); + , const StringPiece &factorDelimiter + , Word *lhs = NULL); void CreateFromStringNewFormat(FactorDirection direction , const std::vector<FactorType> &factorOrder |