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-04-11 18:24:52 +0400
committerUlrich Germann <ugermann@inf.ed.ac.uk>2014-04-11 18:24:52 +0400
commitb7f2e18efc6307234c50491eaddd443755f62e13 (patch)
tree89cad34592654e8d632ba8ea3fe16c0f754710ea /moses/Word.h
parent1a380b9a8a338bf29cd4fd29b2f72136fbabd149 (diff)
Rewrite of Word::CreateFromString() to accommodate elimination of
ConfusionNet::String2Word().
Diffstat (limited to 'moses/Word.h')
-rw-r--r--moses/Word.h3
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);