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:
authorHieu Hoang <hieu@hoang.co.uk>2013-03-08 23:10:28 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-03-08 23:10:28 +0400
commit9298402dcf75bf08364f877750919312e7e80a29 (patch)
tree501b6b9bdadf0800d1a9d90593dc3090045f65f3 /moses/Phrase.h
parentd015ef2e62f7fa0519fc55352ab7d4fbadbc2608 (diff)
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r--moses/Phrase.h6
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