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/Phrase.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/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index 55fb2bdf5..1473830fc 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -81,7 +81,7 @@ public: void CreateFromString(FactorDirection direction , const std::vector<FactorType> &factorOrder , const StringPiece &phraseString - , const StringPiece &factorDelimiter + // , const StringPiece &factorDelimiter // never used [UG] , Word **lhs); /** copy factors from the other phrase to this phrase. |