diff options
Diffstat (limited to 'length-ratio')
| -rwxr-xr-x | length-ratio | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/length-ratio b/length-ratio index 4b4432d..5b38826 100755 --- a/length-ratio +++ b/length-ratio @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'zipf' +require "zipf" a = ReadFile.new ARGV[0] b = ReadFile.new ARGV[1] @@ -9,4 +9,3 @@ while linea = a.gets lineb = b.gets puts linea.strip.split.size.to_f / lineb.strip.split.size.to_f end - |
