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-10-04 17:18:11 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-04 17:18:11 +0400
commit01a99d58219ee9c4e37725386c0cec171162e2db (patch)
treea66daf14a732ace47e79a7f90804774fea9fa112 /moses/Word.h
parenta0b6c381e017e72f0b26850d5527ce946104d537 (diff)
check that there's no epsilon
Diffstat (limited to 'moses/Word.h')
-rw-r--r--moses/Word.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/Word.h b/moses/Word.h
index 9739550dc..6eb0d99ad 100644
--- a/moses/Word.h
+++ b/moses/Word.h
@@ -103,6 +103,8 @@ public:
m_isOOV = val;
}
+ bool IsEpsilon() const;
+
/** add the factors from sourceWord into this representation,
* NULL elements in sourceWord will be skipped */
void Merge(const Word &sourceWord);