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-07-23 16:13:17 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-23 16:13:17 +0400
commit26c373ca3cfecb3aba881811ee82ff8cf577e340 (patch)
tree5ad608953191c422dfd89e0064510e42368a5eb8 /moses/Word.h
parent0c5618dc7502c2bc1dc0fb19e79ac1cb088f860c (diff)
parente6a3df7e97c813a5b10030c9ada5154d1e814f75 (diff)
Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input
Diffstat (limited to 'moses/Word.h')
-rw-r--r--moses/Word.h5
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<.