From 4af354c03c361c62b12ab45e7547ca2695042abd Mon Sep 17 00:00:00 2001
From: jezozwierzak <jezozwierzak@gmail.com>
Date: Thu, 23 Aug 2012 10:22:17 +0200
Subject: [PATCH] Added Avg

---
 utils/chunk_eval.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/utils/chunk_eval.py b/utils/chunk_eval.py
index 538c06b..284bd0a 100755
--- a/utils/chunk_eval.py
+++ b/utils/chunk_eval.py
@@ -164,10 +164,9 @@ def main(ch_path, ref_path, chan_names, input_format, out_path, tagset, verbose,
                     ref_annots = get_annots(ref_sent, chan_name)
                     stats.update(ch_annots, ref_annots)
         
-            results[chan_name] = stats.getStats()
-            
+            results[chan_name] = stats.getStats()    
         csvTable.addRow(results)
-    csvTable.countAvg()
+#    csvTable.countAvg()
     
     if out_path != '':
         out = codecs.open(out_path, "w", "utf-8")
-- 
GitLab