diff options
Diffstat (limited to 'filter-features')
-rwxr-xr-x | filter-features | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/filter-features b/filter-features deleted file mode 100755 index fc21f6c..0000000 --- a/filter-features +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env ruby - -require 'zipf' - -dense_features = ReadFile.readlines_strip "#{File.dirname(__FILE__)}/dense_features.txt" - -sep = " " - -while line = STDIN.gets - a = line.strip.split - a.reject! { |i| - !dense_features.include?(i.split('=').first) - } - puts a.join sep -end - |