raske-nlp 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 995000ff56242d18d59b602c287eb2ed14bed86458942b3db14e0ec03f918033
4
- data.tar.gz: 66663f2e1b4ea7126e51d2920b04a8db59c919ea735bb7552ebaf385f524cf04
3
+ metadata.gz: b102e0a950cbb53cb1f19e3f4c4215cbb85d4cf58cd5930b6084fd079ccb9651
4
+ data.tar.gz: 304c945214ed5e7187df19c2eae9e686ecc0c3ba6a1dd32a432839ea9ebefaeb
5
5
  SHA512:
6
- metadata.gz: 4f4e06ae8f3c897ac08d0535af33d767188ec544c24295d969b259aa7bea53bb4e96b3566c34a536eab42e1acb5746d599ab148ba99bd92bb3d1a8a8e0b5e3be
7
- data.tar.gz: 26459f8afac98b1c155e2eabcf5e6c2c5ae3575f69573fa6059e62a48738227d5655000fae9307d7efd4e816dc1c2a0fff0bafc2ed593a23e57a09979d4de916
6
+ metadata.gz: 986e0ca254039b6cd82531ad0e139c75256ac8aaf30d067beba22b7dc0ba88f00b8b206edcecbd1de1e44c2f88e238571debb1c511d7373ff17717a3ba608ddb
7
+ data.tar.gz: bdf1911d40ae32f52a9a92dd4713a07f981c40a728d58aadfbba3feadd80820e06b5c9b8e93bbc44d4f8677de828ee00ccacc3a2b1f5adb4c5f2e2b7c40d674a
@@ -16,7 +16,7 @@ module RaskeNLP
16
16
  def phrases
17
17
  @phrases ||= begin
18
18
  sentences.map { |sentence|
19
- sentence.downcase.split(@stoplist_regex).map(&:strip).select { |phrase| acceptable?(phrase) }
19
+ sentence.split(@stoplist_regex).map(&:strip).select { |phrase| acceptable?(phrase) }
20
20
  }.flatten
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module RaskeNLP
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/raske-nlp.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Adrián Pradilla Pórtoles"]
9
9
  spec.email = ["adrianpradilla@gmail.com"]
10
10
 
11
- spec.summary = "Implementation of the Rapid Automatic Spanish Keyword Extraction (RAKE) algorithm"
12
- spec.description = "Implementation of the Rapid Automatic Spanish Keyword Extraction (RAKE) algorithm"
11
+ spec.summary = "Implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE) algorithm"
12
+ spec.description = "Implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE) algorithm"
13
13
 
14
14
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
15
15
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raske-nlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrián Pradilla Pórtoles
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-12 00:00:00.000000000 Z
11
+ date: 2021-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '13.0'
41
- description: Implementation of the Rapid Automatic Spanish Keyword Extraction (RAKE)
41
+ description: Implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE)
42
42
  algorithm
43
43
  email:
44
44
  - adrianpradilla@gmail.com
@@ -82,5 +82,6 @@ requirements: []
82
82
  rubygems_version: 3.0.8
83
83
  signing_key:
84
84
  specification_version: 4
85
- summary: Implementation of the Rapid Automatic Spanish Keyword Extraction (RAKE) algorithm
85
+ summary: Implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE)
86
+ algorithm
86
87
  test_files: []