ark_tweet_nlp 0.1.2 → 0.2.0

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: a7770db546eca3745ade8e7d9c4e0ef6a56b898f
4
- data.tar.gz: f35fe7a07eceb1aa68a7360485d388ed2c917160
3
+ metadata.gz: 854e565fc320e10f108899d9fd46ee4e574224e0
4
+ data.tar.gz: b0ed001019d18998339e89360b72a74fc66d82c3
5
5
  SHA512:
6
- metadata.gz: 0382f0c867b940d8e34f0330a283466ff4b548983ed50aef0dbd8757c548d3e3f0d5ebe6f511442fc75ccfc3ec33eb80fcaaee03c2802637b890f91a7710ecdd
7
- data.tar.gz: 387a9bed122c4615971068de053ffe82a0679309c11b86ebea56e2b1c6b36c6cc51c6153b1ea8497017f7bac1eaa83b8d59beba90e24c4cc4b43b818b6ed0a76
6
+ metadata.gz: b081388bbaa6a4dc4b4146816225cc1e55d99a84ad1b4a149702a031fb02db6532a8c1075dcc7a7a6efda47285110e0fbe139dd6fbda817d809788e3675420b4
7
+ data.tar.gz: 10ac78c85e9c80e428d6211e72a90fa5651dfa6b665e979334566d2ca217cfb48e2afaaa0e60bfe4efc15722341fcde5211c503859b42a444622b0ba8eada3bf
@@ -58,6 +58,8 @@ module ArkTweetNlp
58
58
  end
59
59
 
60
60
  def Parser.run_tagger text
61
+ #FIXME: regex destroyes urls...
62
+ text.gsub /[^\w\s\d#]/, ''
61
63
  `echo "#{text}" | #{TAGGER_PATH}`
62
64
  end
63
65
 
@@ -1,3 +1,3 @@
1
1
  module ArkTweetNlp
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ark_tweet_nlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo