summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/rule_count/rulecount.rb
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
commit28806638345e60bd442bf5fa8e7471f9115b0296 (patch)
tree1c304a800ac46f7d0f42ffdfb227571c80b56700 /dtrain/hstreaming/rule_count/rulecount.rb
parent273abce33542fb991e7188c14cd6419870cdb2bd (diff)
remove obsolete stuff
Diffstat (limited to 'dtrain/hstreaming/rule_count/rulecount.rb')
-rw-r--r--dtrain/hstreaming/rule_count/rulecount.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/dtrain/hstreaming/rule_count/rulecount.rb b/dtrain/hstreaming/rule_count/rulecount.rb
deleted file mode 100644
index 67361fa4..00000000
--- a/dtrain/hstreaming/rule_count/rulecount.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env ruby
-
-STDIN.set_encoding 'utf-8'
-STDOUT.set_encoding 'utf-8'
-
-while line = STDIN.gets
- a = line.strip.chomp.split "\t"
- a[3..a.size].each { |r|
- id = r.split("|||")[0..2].join("|||").to_s.strip.gsub("\s", "_")
- puts "#{id}\t1"
- }
-end
-