pragmatic_tokenizer 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9defa80663e9e5955967ba95d1bd346b5e06cca3
4
- data.tar.gz: 5f3ec1a9392c2664b3ce8a26a7de9ba03e3a22e1
3
+ metadata.gz: bdfe318d28a486ba72d1bd4b9c8faa1c11ee2309
4
+ data.tar.gz: b05116e8c303a0fe7717e11ecb477f6ed4cf7516
5
5
  SHA512:
6
- metadata.gz: ddac620c5e335ee8ec3daa1c78ed96d9637e37d57dbb34886a153d7f292bad173ca823c291c44fc1a6f047276049d2e96562ab0a477c5cc58d6f0385636b3ba3
7
- data.tar.gz: 9361da2cada5ab2e301601f4ddd50bde3fe7935f1b88447a3c5356b72063357a319471b4f1405f2c7aec3fa07f8c794f7a3aadc24a0e82919d2b829411725505
6
+ metadata.gz: e6440bbd2f50f7cce0b4f24fd93767a2046d27fc9efaf0fd44148ffd81280998bade81447051b188ab33956daf9100d9741fec7c11cd0679edf1352c7b69a2e6
7
+ data.tar.gz: f7cff0545c140aa810dd23ee2a2dde9302733395928d753120b0380e810caf6ec504c6fa6988c003c687b524d5a4c937bd77049794c0c1e565f528df3a31479a
@@ -122,7 +122,6 @@ module PragmaticTokenizer
122
122
  end
123
123
 
124
124
  def convert_apostrophe_s(text)
125
- puts "Text: #{text.include?("\u{0301}")}"
126
125
  text.gsub!(/\s\u{0301}(?=s(\s|\z))/, PragmaticTokenizer::Languages::Common::PUNCTUATION_MAP['`']) || text
127
126
  end
128
127
 
@@ -122,9 +122,7 @@ module PragmaticTokenizer
122
122
  private
123
123
 
124
124
  def post_process(text)
125
- puts "Text: #{text}"
126
125
  @tokens = PostProcessor.new(text: text, abbreviations: abbreviations).post_process
127
- puts "Tokens: #{@tokens}"
128
126
  downcase! if downcase
129
127
  expand_contractions!(contractions) if expand_contractions
130
128
  clean! if clean
@@ -1,3 +1,3 @@
1
1
  module PragmaticTokenizer
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
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: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias