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 +4 -4
- data/lib/raske-nlp/result.rb +1 -1
- data/lib/raske-nlp/version.rb +1 -1
- data/raske-nlp.gemspec +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b102e0a950cbb53cb1f19e3f4c4215cbb85d4cf58cd5930b6084fd079ccb9651
|
4
|
+
data.tar.gz: 304c945214ed5e7187df19c2eae9e686ecc0c3ba6a1dd32a432839ea9ebefaeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 986e0ca254039b6cd82531ad0e139c75256ac8aaf30d067beba22b7dc0ba88f00b8b206edcecbd1de1e44c2f88e238571debb1c511d7373ff17717a3ba608ddb
|
7
|
+
data.tar.gz: bdf1911d40ae32f52a9a92dd4713a07f981c40a728d58aadfbba3feadd80820e06b5c9b8e93bbc44d4f8677de828ee00ccacc3a2b1f5adb4c5f2e2b7c40d674a
|
data/lib/raske-nlp/result.rb
CHANGED
@@ -16,7 +16,7 @@ module RaskeNLP
|
|
16
16
|
def phrases
|
17
17
|
@phrases ||= begin
|
18
18
|
sentences.map { |sentence|
|
19
|
-
sentence.
|
19
|
+
sentence.split(@stoplist_regex).map(&:strip).select { |phrase| acceptable?(phrase) }
|
20
20
|
}.flatten
|
21
21
|
end
|
22
22
|
end
|
data/lib/raske-nlp/version.rb
CHANGED
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 (
|
12
|
-
spec.description = "Implementation of the Rapid Automatic Spanish Keyword Extraction (
|
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.
|
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-
|
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 (
|
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 (
|
85
|
+
summary: Implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE)
|
86
|
+
algorithm
|
86
87
|
test_files: []
|