soulheart 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92cb6b53b32cdadf8fe407f940ee941f0c9cc0e4
4
- data.tar.gz: 1af49cbdf332eade831a421fa3b47079e130516a
3
+ metadata.gz: b940c579f757c257a88e570248db8b58e960c1b2
4
+ data.tar.gz: f4b963e11a35ee654f71480f12ace35d65b9c213
5
5
  SHA512:
6
- metadata.gz: 90287822a0fdb40a18ff3abbbdac18548e7f029886a11dfacad86e5ce6b57f10238d7504e6e5de68199a7a09117071c6f1e1788028dce56dda5ffff3edad40e6
7
- data.tar.gz: 24940196b5f5d04374d9e068ef0fdb621dd62559fc01750529651b8b6512a48f9e7ac5cfa7ec03c728c14f997b3418198dd96d8115a8af45339da5e81f127157
6
+ metadata.gz: 5c932ab836432de24dbb7f8d040926a64fb93b57d2dc4dc5fbd7b007703013ddba084092537c7b9895ce14398d12caaea1e82a02bc40518c1e9a6ad204505e11
7
+ data.tar.gz: a5381685e30a771b118a39ea6c02f1831c078ec964687ddb75c1d372c146c4003cbf0f8288c09e90e223b7a9d5763f985bbc2ff9fb6aa7f9bfe59f6e001dafc0
data/bin/soulheart CHANGED
@@ -129,11 +129,13 @@ end
129
129
  def normalize(file=nil)
130
130
  if @normalize_regex
131
131
  f = open_file(file)
132
- puts f.readlines.map(&:strip).reject(&:empty?).first
132
+ puts "Updating normalizer: regular expression - " + f.readlines.map(&:strip).reject(&:empty?).first
133
133
  Soulheart.normalizer = f.readlines.map(&:strip).reject(&:empty?).first
134
134
  elsif @normalize_no_sym
135
+ puts "Updating normalizer: allow symbols"
135
136
  Soulheart.normalizer = ''
136
137
  else
138
+ puts "Updating normalizer: default settings"
137
139
  Soulheart.normalizer = Soulheart.default_normalizer
138
140
  end
139
141
  end
@@ -151,6 +153,7 @@ when 'stop-words'
151
153
  when 'normalize'
152
154
  ARGV[1] ? normalize(ARGV[1]) : normalize
153
155
  when 'clear'
156
+ puts @remove_results ? "Clearing ALL data (-R option)" : "Clearing data"
154
157
  clear
155
158
  load ARGV[1] if ARGV[1]
156
159
  else
@@ -1,3 +1,3 @@
1
1
  module Soulheart
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soulheart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Herr