diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-04 17:18:11 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-04 17:18:11 +0400 |
commit | 01a99d58219ee9c4e37725386c0cec171162e2db (patch) | |
tree | a66daf14a732ace47e79a7f90804774fea9fa112 /moses/Word.h | |
parent | a0b6c381e017e72f0b26850d5527ce946104d537 (diff) |
check that there's no epsilon
Diffstat (limited to 'moses/Word.h')
-rw-r--r-- | moses/Word.h | 2 |
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); |