diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-23 16:13:17 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-23 16:13:17 +0400 |
commit | 26c373ca3cfecb3aba881811ee82ff8cf577e340 (patch) | |
tree | 5ad608953191c422dfd89e0064510e42368a5eb8 /moses/Word.h | |
parent | 0c5618dc7502c2bc1dc0fb19e79ac1cb088f860c (diff) | |
parent | e6a3df7e97c813a5b10030c9ada5154d1e814f75 (diff) |
Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input
Diffstat (limited to 'moses/Word.h')
-rw-r--r-- | moses/Word.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/Word.h b/moses/Word.h index 1b07a0345..9739550dc 100644 --- a/moses/Word.h +++ b/moses/Word.h @@ -135,6 +135,11 @@ public: return Compare(*this, compare) != 0; } + int Compare(const Word &other) const { + return Compare(*this, other); + } + + /* static functions */ /** transitive comparison of 2 word objects. Used by operator<. |