pragmatic_tokenizer 0.3.0 → 0.3.1

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: 414905d0126493ffc7224055dd2f79010061662c
4
- data.tar.gz: 2b0995cc2b16cef7f7a521a65f90011118fd70f7
3
+ metadata.gz: 45b328926e640455c5a4f02fac9f513aff0a7714
4
+ data.tar.gz: fbcb73dd8c16bd37cef4919487afb294d92fc4aa
5
5
  SHA512:
6
- metadata.gz: 62772587ff880bd192c504f9f319e1dd9e11c89bac1e37e67ef95d3f42f451fb3a770f5c57eb7152919c301e49e4d5c06a71001b27781e8ca5228bf4ab29c082
7
- data.tar.gz: 977cc2c5fd69d0bca8e619860ee78e1161cb509da734ad0290b7dd54401822f399315d7e10606f8f3750a53314167568af6beccd688870bdacc04832c150d606
6
+ metadata.gz: 3f47c0b9ce0d7732848e6836649fa0346c20e30126284a82cfdab6f08facfa138f40479720ca0df7da0fe2dcb44a73164adc3fd7390670721e2a35bcbfc918f9
7
+ data.tar.gz: 28ddafc471573590d93ec7cfb48a45c4ecc5f66e9b6b91653819887cefbf91e6f4551566787efba648e70e5d98164f9fdfdf2fa626de76fc1fb61f6e09d999d2
@@ -89,11 +89,9 @@ module PragmaticTokenizer
89
89
  end
90
90
 
91
91
  def shift_colon(text)
92
- puts "Text: #{text}"
93
92
  return text unless text.include?(':') &&
94
93
  text.partition(':').last[0] !~ /\A\d+/ &&
95
94
  text.partition(':').first[-1] !~ /\A\d+/
96
- puts "YOYOYO"
97
95
  # Ignore web addresses
98
96
  text.gsub!(/(?<=[http|https]):(?=\/\/)/, PragmaticTokenizer::Languages::Common::PUNCTUATION_MAP[":"]) || text
99
97
  text.gsub!(/:/o, ' :') || text
@@ -1,3 +1,3 @@
1
1
  module PragmaticTokenizer
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragmatic_tokenizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias