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:
authorUlrich Germann <ugermann@inf.ed.ac.uk>2014-05-31 17:33:31 +0400
committerUlrich Germann <ugermann@inf.ed.ac.uk>2014-05-31 17:33:31 +0400
commit249c40ec74f182cf92600341ea07de6666a6281a (patch)
treec07793b80139dde5bf1457c4b909fc51c1039eee /moses/Phrase.h
parentc4528753433dc6a8be5c50676504e1f68724f275 (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.h2
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.