diff options
author | bothameister <bothameister@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-20 23:46:42 +0000 |
---|---|---|
committer | bothameister <bothameister@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-20 23:46:42 +0000 |
commit | 234e92201c32eac97d472d2b2454809028538df4 (patch) | |
tree | 266a80cd3be23ad4a529d1a251fa4d30f7cae9b1 | |
parent | 0b09bcf26266c4af528c39a27e6ddb885c197c57 (diff) |
minor fix in span agreement viz
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@349 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | gi/evaluation/confusion_matrix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/evaluation/confusion_matrix.py b/gi/evaluation/confusion_matrix.py index c5e2a379..55cad256 100644 --- a/gi/evaluation/confusion_matrix.py +++ b/gi/evaluation/confusion_matrix.py @@ -6,7 +6,7 @@ def usage(): print >>sys.stderr, 'Usage:', sys.argv[0], '[-s slash_threshold] [-p output] [-m] input-1 input-2' sys.exit(0) -optlist, args = getopt.getopt(sys.argv[1:], 'hs:') +optlist, args = getopt.getopt(sys.argv[1:], 'hs:mp:') slash_threshold = None output_fname = None show_matrix = False @@ -91,8 +91,8 @@ if output_fname: #hsl(hue, saturation%, lightness%) # re-sort preds to get a better diagonal + ptags=[] if False: - ptags = [] remaining = set(predict_frequencies.keys()) for y, (gtag, gcount) in enumerate(gtags): best = (None, 0) |