summaryrefslogtreecommitdiff
path: root/feature-dict
diff options
context:
space:
mode:
Diffstat (limited to 'feature-dict')
-rwxr-xr-xfeature-dict5
1 files changed, 2 insertions, 3 deletions
diff --git a/feature-dict b/feature-dict
index 6849769..59ff020 100755
--- a/feature-dict
+++ b/feature-dict
@@ -7,7 +7,7 @@ l_i = 1
while line = STDIN.gets
STDERR.write "#{l_i}\n" if l_i%1000==0&&not_quiet
line.split.each { |i|
- f, v = i.split('=', 2)
+ f, v = i.split("=", 2)
if !feature_dict.has_key? f
feature_dict[f] = n
n += 1
@@ -16,9 +16,8 @@ while line = STDIN.gets
l_i += 1
end
-f = File.new ARGV[0], 'w'
+f = File.new ARGV[0], "w"
f.write Marshal.dump feature_dict
f.close
STDERR.write "size = #{feature_dict.size}\n"
-