diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-04-11 18:24:52 +0400 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-04-11 18:24:52 +0400 |
commit | b7f2e18efc6307234c50491eaddd443755f62e13 (patch) | |
tree | 89cad34592654e8d632ba8ea3fe16c0f754710ea /moses/Word.h | |
parent | 1a380b9a8a338bf29cd4fd29b2f72136fbabd149 (diff) |
Rewrite of Word::CreateFromString() to accommodate elimination of
ConfusionNet::String2Word().
Diffstat (limited to 'moses/Word.h')
-rw-r--r-- | moses/Word.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/Word.h b/moses/Word.h index b4e2b7132..47df6e141 100644 --- a/moses/Word.h +++ b/moses/Word.h @@ -151,7 +151,8 @@ public: void CreateFromString(FactorDirection direction , const std::vector<FactorType> &factorOrder , const StringPiece &str - , bool isNonTerminal); + , bool isNonTerminal + , bool strict = true); void CreateUnknownWord(const Word &sourceWord); |