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 <fishandfrolick@gmail.com>2012-06-22 21:19:16 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-22 21:19:16 +0400
commit7d19fe13ae613d07c3690f6849ce811726ce1169 (patch)
treeb9cde99ea1b63716c3701bbb181b3805d30aeff2 /mert/Types.h
parentdb06d9cf654997857b9a3c828643039656e8fe09 (diff)
merge Lexi Birch's LRScore from mert_mtm5 branch
Diffstat (limited to 'mert/Types.h')
-rw-r--r--mert/Types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mert/Types.h b/mert/Types.h
index 71904e4ad..ae452afa6 100644
--- a/mert/Types.h
+++ b/mert/Types.h
@@ -39,4 +39,7 @@ typedef std::vector<ScoreArray> scoredata_t;
typedef std::map<std::size_t, std::string> idx2name;
typedef std::map<std::string, std::size_t> name2idx;
+typedef enum { HAMMING_DISTANCE=0, KENDALL_DISTANCE } distanceMetric_t;
+typedef enum { REFERENCE_CHOICE_AVERAGE=0, REFERENCE_CHOICE_CLOSEST } distanceMetricReferenceChoice_t;
+
#endif // MERT_TYPE_H_