ruby-spacy 0.1.5.2 → 0.1.5.4

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: 968ceb2100aed3cac0218e19de4cf1a76b5bbedc81135128b136f7550242a27f
4
- data.tar.gz: 37218f586e6ecd6a026aeec3dbb1794d26c0e14b9e55aeb38030e52ef5114937
3
+ metadata.gz: 2d3ff404ae86e8089b01832121e6c87fef12d864bf5e873a9b62ce3df7b26448
4
+ data.tar.gz: 14060665f835b8932fe78b60bb3dcea7adee22388488de11031e6510e24724f3
5
5
  SHA512:
6
- metadata.gz: 219c19baad143b8eea1e3d2072ef76e7fda32d77696537e92daa982e083ade0e5a9ad8b1db15bf8c846fe8245a090d72ed258bf8daad7c9e26bd8bf87ccb1b79
7
- data.tar.gz: 1491cf3afd7eb0a1ba894eb5cee9679cb22bc9385a4fb9996046c6016975ce4ad7d838b4f2dc6dad8bb9c542a52048bb5aa5f613fdfd74a79e566cd985b9b11e
6
+ metadata.gz: d4c62ac434fbc2c2056b9225e4c74a9b6731c3a8a63697cf02d44094f4c235c2493aa4c898b55bf3b5e1d8303ed6d7036c9d61db37d941c69d09dc7f2a5b7d26
7
+ data.tar.gz: 753d212d51660e085740c8cf8836545983d8443e5acba6f213e57269558ab22a0c0917b67083157cf21cf4ce2261af4ba4113d0f16540a97b549729cc74c5601
data/.gitignore CHANGED
@@ -45,7 +45,7 @@ build-iPhoneSimulator/
45
45
 
46
46
  # for a library or gem, you might want to ignore these files since the code is
47
47
  # intended to run in multiple environments; otherwise, check them in:
48
- # Gemfile.lock
48
+ Gemfile.lock
49
49
  # .ruby-version
50
50
  # .ruby-gemset
51
51
 
data/.python-version ADDED
@@ -0,0 +1 @@
1
+ 3.10.6
data/README.md CHANGED
@@ -20,13 +20,7 @@
20
20
  $ env CONFIGURE_OPTS="--enable-shared" pyenv install 3.10.6
21
21
  ```
22
22
 
23
- Don't forget to make it accessible from your working directory.
24
-
25
- ```shell
26
- $ pyenv local 3.10.6
27
- ```
28
-
29
- Or alternatively:
23
+ Remember to make it accessible from your working directory. It is recommended that you set `global` to the version of python you just installed.
30
24
 
31
25
  ```shell
32
26
  $ pyenv global 3.10.6
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Spacy
4
4
  # The version number of the module
5
- VERSION = "0.1.5.2"
5
+ VERSION = "0.1.5.4"
6
6
  end
data/lib/ruby-spacy.rb CHANGED
@@ -7,7 +7,7 @@ require "pycall"
7
7
 
8
8
  # This module covers the areas of spaCy functionality for _using_ many varieties of its language models, not for _building_ ones.
9
9
  module Spacy
10
- MAX_RETRIAL = 20
10
+ MAX_RETRIAL = 5
11
11
 
12
12
  spacy = PyCall.import_module("spacy")
13
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-spacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.2
4
+ version: 0.1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoichiro Hasebe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-26 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,12 +121,12 @@ extensions: []
121
121
  extra_rdoc_files: []
122
122
  files:
123
123
  - ".gitignore"
124
+ - ".python-version"
124
125
  - ".rubocop.yml"
125
126
  - ".solargraph.yml"
126
127
  - ".yardopts"
127
128
  - CHANGELOG.md
128
129
  - Gemfile
129
- - Gemfile.lock
130
130
  - LICENSE.txt
131
131
  - README.md
132
132
  - Rakefile
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.3.3
211
+ rubygems_version: 3.4.12
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: A wrapper module for using spaCy natural language processing library from
data/Gemfile.lock DELETED
@@ -1,120 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ruby-spacy (0.1.5.1)
5
- numpy (~> 0.4.0)
6
- pycall (~> 1.4.0)
7
- terminal-table (~> 3.0.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- ast (2.4.2)
13
- backport (1.2.0)
14
- benchmark (0.2.1)
15
- diff-lcs (1.5.0)
16
- e2mmap (0.1.0)
17
- github-markup (4.0.1)
18
- jaro_winkler (1.5.4)
19
- json (2.6.3)
20
- kramdown (2.4.0)
21
- rexml
22
- kramdown-parser-gfm (1.1.0)
23
- kramdown (~> 2.0)
24
- mini_portile2 (2.8.1)
25
- minitest (5.17.0)
26
- nokogiri (1.14.0)
27
- mini_portile2 (~> 2.8.0)
28
- racc (~> 1.4)
29
- nokogiri (1.14.0-arm64-darwin)
30
- racc (~> 1.4)
31
- nokogiri (1.14.0-x86_64-darwin)
32
- racc (~> 1.4)
33
- nokogiri (1.14.0-x86_64-linux)
34
- racc (~> 1.4)
35
- numpy (0.4.0)
36
- pycall (>= 1.2.0.beta1)
37
- parallel (1.22.1)
38
- parser (3.2.0.0)
39
- ast (~> 2.4.1)
40
- pycall (1.4.2)
41
- racc (1.6.2)
42
- rainbow (3.1.1)
43
- rake (13.0.6)
44
- redcarpet (3.5.1)
45
- regexp_parser (2.6.2)
46
- reverse_markdown (2.1.1)
47
- nokogiri
48
- rexml (3.2.5)
49
- rspec (3.12.0)
50
- rspec-core (~> 3.12.0)
51
- rspec-expectations (~> 3.12.0)
52
- rspec-mocks (~> 3.12.0)
53
- rspec-core (3.12.0)
54
- rspec-support (~> 3.12.0)
55
- rspec-expectations (3.12.2)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.12.0)
58
- rspec-mocks (3.12.3)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.12.0)
61
- rspec-support (3.12.0)
62
- rubocop (1.44.1)
63
- json (~> 2.3)
64
- parallel (~> 1.10)
65
- parser (>= 3.2.0.0)
66
- rainbow (>= 2.2.2, < 4.0)
67
- regexp_parser (>= 1.8, < 3.0)
68
- rexml (>= 3.2.5, < 4.0)
69
- rubocop-ast (>= 1.24.1, < 2.0)
70
- ruby-progressbar (~> 1.7)
71
- unicode-display_width (>= 2.4.0, < 3.0)
72
- rubocop-ast (1.24.1)
73
- parser (>= 3.1.1.0)
74
- ruby-progressbar (1.11.0)
75
- solargraph (0.48.0)
76
- backport (~> 1.2)
77
- benchmark
78
- bundler (>= 1.17.2)
79
- diff-lcs (~> 1.4)
80
- e2mmap
81
- jaro_winkler (~> 1.5)
82
- kramdown (~> 2.3)
83
- kramdown-parser-gfm (~> 1.1)
84
- parser (~> 3.0)
85
- reverse_markdown (>= 1.0.5, < 3)
86
- rubocop (>= 0.52)
87
- thor (~> 1.0)
88
- tilt (~> 2.0)
89
- yard (~> 0.9, >= 0.9.24)
90
- terminal-table (3.0.2)
91
- unicode-display_width (>= 1.1.1, < 3)
92
- thor (1.2.1)
93
- tilt (2.0.11)
94
- unicode-display_width (2.4.2)
95
- webrick (1.7.0)
96
- yard (0.9.28)
97
- webrick (~> 1.7.0)
98
-
99
- PLATFORMS
100
- arm64-darwin-20
101
- ruby
102
- x86_64-darwin-20
103
- x86_64-linux
104
-
105
- DEPENDENCIES
106
- bundler
107
- github-markup
108
- minitest (~> 5.0)
109
- numpy
110
- pycall
111
- rake (~> 13.0)
112
- redcarpet
113
- rspec
114
- ruby-spacy!
115
- solargraph
116
- terminal-table
117
- yard
118
-
119
- BUNDLED WITH
120
- 2.4.2