ruby-spacy 0.1.5.0 → 0.1.5.1

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: 4cd52dfe6ab652bcefacd7401deef42ccccb5e711d418ca127776e66673b87f0
4
- data.tar.gz: 5b2bd6ac16341c09e53673a31b60cb31a9c07d89344d35b7a7d9c01fe629881a
3
+ metadata.gz: 06dd0ed2027c0d0c2e610141ef375d483734adfe7855a2306b9b23a00a743b73
4
+ data.tar.gz: fbe23e5e67a9502d2b6bd439608a6f1d43c82c0b05437386c7f65a69326b2cf0
5
5
  SHA512:
6
- metadata.gz: 3af0557f6a33c0a4bfbf6a65e1e8922e14dc3f9df70fbc7bbe271212134b3d8b27e908aa79fd172fedf9e8daa4b39c6d1967eb1e2972d186c9ddb0a0bd6685c5
7
- data.tar.gz: c893e49c75fb0ddb861c052ca5415df0235ef6d1d15960f6b2e5c4b815f1f6018607a8fff6b56bd1cbf5514c9762f8e39c9ce731f8ae713d148eb17eb7d9531b
6
+ metadata.gz: da5fd99c782737cea2e1fa125b66de561522ac541e7a3c15f6ebbda7c6eae1e55925b043cd3421463d95c8dda450ed6d1c65704b88a92acff4b9c716d38a96d4
7
+ data.tar.gz: db33fe51cbe8d6613afaed4e648928b95e4d78481831c0f998cca443d181903af444719d90275035b1b582d4bd281b6dc3e8624e9177506b8ad2ef836b6d82e6
data/.gitignore CHANGED
@@ -56,3 +56,4 @@ build-iPhoneSimulator/
56
56
  # .rubocop-https?--*
57
57
 
58
58
  .DS_Store
59
+ tags
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-spacy (0.1.4.1)
4
+ ruby-spacy (0.1.5.0)
5
5
  numpy (~> 0.4.0)
6
6
  pycall (~> 1.4.0)
7
7
  terminal-table (~> 3.0.1)
@@ -9,33 +9,112 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- github-markup (4.0.0)
13
- minitest (5.14.4)
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)
14
35
  numpy (0.4.0)
15
36
  pycall (>= 1.2.0.beta1)
16
- pycall (1.4.1)
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)
17
43
  rake (13.0.6)
18
44
  redcarpet (3.5.1)
19
- terminal-table (3.0.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.43.0)
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)
20
91
  unicode-display_width (>= 1.1.1, < 3)
21
- unicode-display_width (2.0.0)
22
- yard (0.9.26)
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)
23
98
 
24
99
  PLATFORMS
25
100
  arm64-darwin-20
101
+ ruby
26
102
  x86_64-darwin-20
27
103
  x86_64-linux
28
104
 
29
105
  DEPENDENCIES
106
+ bundler
30
107
  github-markup
31
108
  minitest (~> 5.0)
32
109
  numpy
33
110
  pycall
34
111
  rake (~> 13.0)
35
112
  redcarpet
113
+ rspec
36
114
  ruby-spacy!
115
+ solargraph
37
116
  terminal-table
38
117
  yard
39
118
 
40
119
  BUNDLED WITH
41
- 2.2.21
120
+ 2.4.2
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Spacy
4
4
  # The version number of the module
5
- VERSION = "0.1.5.0"
5
+ VERSION = "0.1.5.1"
6
6
  end
data/lib/ruby-spacy.rb CHANGED
@@ -3,11 +3,12 @@
3
3
  require_relative "ruby-spacy/version"
4
4
  require "strscan"
5
5
  require "numpy"
6
- require "pycall/import"
6
+ 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
- extend PyCall::Import
10
+ MAX_RETRIAL = 20
11
+
11
12
  spacy = PyCall.import_module("spacy")
12
13
 
13
14
  # Python `Language` class
@@ -211,10 +212,16 @@ module Spacy
211
212
 
212
213
  # Creates a language model instance, which is conventionally referred to by a variable named `nlp`.
213
214
  # @param model [String] A language model installed in the system
214
- def initialize(model = "en_core_web_sm")
215
+ def initialize(model = "en_core_web_sm", max_retrial = MAX_RETRIAL, retrial = 0)
215
216
  @spacy_nlp_id = "nlp_#{model.object_id}"
216
217
  PyCall.exec("import spacy; #{@spacy_nlp_id} = spacy.load('#{model}')")
217
218
  @py_nlp = PyCall.eval(@spacy_nlp_id)
219
+ rescue StandardError
220
+ retrial += 1
221
+ raise "Error: Pycall failed to load Spacy" unless retrial <= max_retrial
222
+
223
+ sleep 0.5
224
+ initialize(model, max_retrial, retrial)
218
225
  end
219
226
 
220
227
  # Reads and analyze the given text.
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.0
4
+ version: 0.1.5.1
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-20 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -189,7 +189,6 @@ files:
189
189
  - lib/ruby-spacy.rb
190
190
  - lib/ruby-spacy/version.rb
191
191
  - ruby-spacy.gemspec
192
- - tags
193
192
  homepage: https://github.com/yohasebe/ruby-spacy
194
193
  licenses:
195
194
  - MIT
@@ -209,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
208
  - !ruby/object:Gem::Version
210
209
  version: '0'
211
210
  requirements: []
212
- rubygems_version: 3.3.3
211
+ rubygems_version: 3.4.1
213
212
  signing_key:
214
213
  specification_version: 4
215
214
  summary: A wrapper module for using spaCy natural language processing library from
data/tags DELETED
@@ -1,132 +0,0 @@
1
- !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2
- !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3
- !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
4
- !_TAG_PROGRAM_NAME Exuberant Ctags //
5
- !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
- !_TAG_PROGRAM_VERSION 5.8 //
7
- Doc lib/ruby-spacy.rb /^ class Doc$/;" c class:Spacy
8
- Language lib/ruby-spacy.rb /^ class Language$/;" c class:Spacy
9
- Lexeme lib/ruby-spacy.rb /^ class Lexeme$/;" c class:Spacy
10
- Matcher lib/ruby-spacy.rb /^ class Matcher$/;" c class:Spacy
11
- Spacy lib/ruby-spacy.rb /^module Spacy$/;" m
12
- Spacy lib/ruby-spacy/version.rb /^module Spacy$/;" m
13
- SpacyTest test/ruby-spacy_test.rb /^class SpacyTest < Minitest::Test$/;" c
14
- Span lib/ruby-spacy.rb /^ class Span$/;" c class:Spacy
15
- Token lib/ruby-spacy.rb /^ class Token$/;" c class:Spacy
16
- [] lib/ruby-spacy.rb /^ def [](range)$/;" f class:Spacy.Doc
17
- [] lib/ruby-spacy.rb /^ def [](range)$/;" f class:Spacy.Span
18
- add lib/ruby-spacy.rb /^ def add(text, pattern)$/;" f class:Spacy.Matcher
19
- ancestors lib/ruby-spacy.rb /^ def ancestors$/;" f class:Spacy.Token
20
- as_doc lib/ruby-spacy.rb /^ def as_doc$/;" f class:Spacy.Span
21
- children lib/ruby-spacy.rb /^ def children$/;" f class:Spacy.Token
22
- conjuncts lib/ruby-spacy.rb /^ def conjuncts$/;" f class:Spacy.Span
23
- dep lib/ruby-spacy.rb /^ def dep$/;" f class:Spacy.Token
24
- displacy lib/ruby-spacy.rb /^ def displacy(style: "dep", compact: false)$/;" f class:Spacy.Doc
25
- each lib/ruby-spacy.rb /^ def each$/;" f class:Spacy.Doc
26
- each lib/ruby-spacy.rb /^ def each$/;" f class:Spacy.Span
27
- ent_type lib/ruby-spacy.rb /^ def ent_type$/;" f class:Spacy.Token
28
- ents lib/ruby-spacy.rb /^ def ents$/;" f class:Spacy.Doc
29
- ents lib/ruby-spacy.rb /^ def ents$/;" f class:Spacy.Span
30
- generator_to_array lib/ruby-spacy.rb /^ def self.generator_to_array(py_generator)$/;" F class:Spacy
31
- get_lexeme lib/ruby-spacy.rb /^ def get_lexeme(text)$/;" f class:Spacy.Language
32
- head lib/ruby-spacy.rb /^ def head$/;" f class:Spacy.Token
33
- initialize lib/ruby-spacy.rb /^ def initialize(doc, py_span: nil, start_index: nil, end_index: nil, options: {})$/;" f class:Spacy.Span
34
- initialize lib/ruby-spacy.rb /^ def initialize(model = "en_core_web_sm")$/;" f class:Spacy.Language
35
- initialize lib/ruby-spacy.rb /^ def initialize(nlp)$/;" f class:Spacy.Matcher
36
- initialize lib/ruby-spacy.rb /^ def initialize(nlp, py_doc: nil, text: nil)$/;" f class:Spacy.Doc
37
- initialize lib/ruby-spacy.rb /^ def initialize(py_lexeme)$/;" f class:Spacy.Lexeme
38
- initialize lib/ruby-spacy.rb /^ def initialize(py_token)$/;" f class:Spacy.Token
39
- label lib/ruby-spacy.rb /^ def label$/;" f class:Spacy.Span
40
- lang lib/ruby-spacy.rb /^ def lang$/;" f class:Spacy.Lexeme
41
- lang lib/ruby-spacy.rb /^ def lang$/;" f class:Spacy.Token
42
- lefts lib/ruby-spacy.rb /^ def lefts$/;" f class:Spacy.Span
43
- lefts lib/ruby-spacy.rb /^ def lefts$/;" f class:Spacy.Token
44
- lemma lib/ruby-spacy.rb /^ def lemma$/;" f class:Spacy.Token
45
- lexeme lib/ruby-spacy.rb /^ def lexeme$/;" f class:Spacy.Token
46
- lower lib/ruby-spacy.rb /^ def lower$/;" f class:Spacy.Lexeme
47
- lower lib/ruby-spacy.rb /^ def lower$/;" f class:Spacy.Token
48
- match lib/ruby-spacy.rb /^ def match(doc)$/;" f class:Spacy.Matcher
49
- matcher lib/ruby-spacy.rb /^ def matcher$/;" f class:Spacy.Language
50
- method_missing lib/ruby-spacy.rb /^ def method_missing(name, *args)$/;" f class:Spacy.Doc
51
- method_missing lib/ruby-spacy.rb /^ def method_missing(name, *args)$/;" f class:Spacy.Language
52
- method_missing lib/ruby-spacy.rb /^ def method_missing(name, *args)$/;" f class:Spacy.Lexeme
53
- method_missing lib/ruby-spacy.rb /^ def method_missing(name, *args)$/;" f class:Spacy.Span
54
- method_missing lib/ruby-spacy.rb /^ def method_missing(name, *args)$/;" f class:Spacy.Token
55
- morphology lib/ruby-spacy.rb /^ def morphology(hash = true)$/;" f class:Spacy.Token
56
- most_similar lib/ruby-spacy.rb /^ def most_similar(vector, n)$/;" f class:Spacy.Language
57
- norm lib/ruby-spacy.rb /^ def norm$/;" f class:Spacy.Lexeme
58
- noun_chunks lib/ruby-spacy.rb /^ def noun_chunks$/;" f class:Spacy.Doc
59
- noun_chunks lib/ruby-spacy.rb /^ def noun_chunks$/;" f class:Spacy.Span
60
- pipe lib/ruby-spacy.rb /^ def pipe(texts, disable: [], batch_size: 50)$/;" f class:Spacy.Language
61
- pipe_names lib/ruby-spacy.rb /^ def pipe_names$/;" f class:Spacy.Language
62
- pos lib/ruby-spacy.rb /^ def pos$/;" f class:Spacy.Token
63
- prefix lib/ruby-spacy.rb /^ def prefix$/;" f class:Spacy.Lexeme
64
- read lib/ruby-spacy.rb /^ def read(text)$/;" f class:Spacy.Language
65
- retokenize lib/ruby-spacy.rb /^ def retokenize(start_index, end_index, attributes = {})$/;" f class:Spacy.Doc
66
- retokenize_split lib/ruby-spacy.rb /^ def retokenize_split(pos_in_doc, split_array, head_pos_in_split, ancestor_pos, attributes = {})$/;" f class:Spacy.Doc
67
- rights lib/ruby-spacy.rb /^ def rights$/;" f class:Spacy.Span
68
- rights lib/ruby-spacy.rb /^ def rights$/;" f class:Spacy.Token
69
- root lib/ruby-spacy.rb /^ def root$/;" f class:Spacy.Span
70
- sent lib/ruby-spacy.rb /^ def sent$/;" f class:Spacy.Span
71
- sents lib/ruby-spacy.rb /^ def sents$/;" f class:Spacy.Doc
72
- sents lib/ruby-spacy.rb /^ def sents$/;" f class:Spacy.Span
73
- shape lib/ruby-spacy.rb /^ def shape$/;" f class:Spacy.Lexeme
74
- shape lib/ruby-spacy.rb /^ def shape$/;" f class:Spacy.Token
75
- similarity lib/ruby-spacy.rb /^ def similarity(other)$/;" f class:Spacy.Doc
76
- similarity lib/ruby-spacy.rb /^ def similarity(other)$/;" f class:Spacy.Lexeme
77
- similarity lib/ruby-spacy.rb /^ def similarity(other)$/;" f class:Spacy.Span
78
- span lib/ruby-spacy.rb /^ def span(range_or_start, optional_size = nil)$/;" f class:Spacy.Doc
79
- subtree lib/ruby-spacy.rb /^ def subtree$/;" f class:Spacy.Span
80
- subtree lib/ruby-spacy.rb /^ def subtree$/;" f class:Spacy.Token
81
- suffix lib/ruby-spacy.rb /^ def suffix$/;" f class:Spacy.Lexeme
82
- tag lib/ruby-spacy.rb /^ def tag$/;" f class:Spacy.Token
83
- test_doc_each test/ruby-spacy_test.rb /^ def test_doc_each$/;" f class:SpacyTest
84
- test_doc_ents test/ruby-spacy_test.rb /^ def test_doc_ents$/;" f class:SpacyTest
85
- test_doc_iteration test/ruby-spacy_test.rb /^ def test_doc_iteration$/;" f class:SpacyTest
86
- test_doc_len test/ruby-spacy_test.rb /^ def test_doc_len$/;" f class:SpacyTest
87
- test_doc_noun_chunks test/ruby-spacy_test.rb /^ def test_doc_noun_chunks$/;" f class:SpacyTest
88
- test_doc_py_char_span test/ruby-spacy_test.rb /^ def test_doc_py_char_span$/;" f class:SpacyTest
89
- test_doc_py_has_vector test/ruby-spacy_test.rb /^ def test_doc_py_has_vector$/;" f class:SpacyTest
90
- test_doc_py_vector test/ruby-spacy_test.rb /^ def test_doc_py_vector$/;" f class:SpacyTest
91
- test_doc_retokenize test/ruby-spacy_test.rb /^ def test_doc_retokenize$/;" f class:SpacyTest
92
- test_doc_retokenize_split test/ruby-spacy_test.rb /^ def test_doc_retokenize_split$/;" f class:SpacyTest
93
- test_doc_sents test/ruby-spacy_test.rb /^ def test_doc_sents$/;" f class:SpacyTest
94
- test_doc_similarity test/ruby-spacy_test.rb /^ def test_doc_similarity$/;" f class:SpacyTest
95
- test_doc_slice test/ruby-spacy_test.rb /^ def test_doc_slice$/;" f class:SpacyTest
96
- test_doc_span test/ruby-spacy_test.rb /^ def test_doc_span$/;" f class:SpacyTest
97
- test_language_disable_pipes test/ruby-spacy_test.rb /^ def test_language_disable_pipes$/;" f class:SpacyTest
98
- test_language_get_lexeme test/ruby-spacy_test.rb /^ def test_language_get_lexeme$/;" f class:SpacyTest
99
- test_language_most_similar test/ruby-spacy_test.rb /^ def test_language_most_similar$/;" f class:SpacyTest
100
- test_language_pipe test/ruby-spacy_test.rb /^ def test_language_pipe$/;" f class:SpacyTest
101
- test_lexeme test/ruby-spacy_test.rb /^ def test_lexeme$/;" f class:SpacyTest
102
- test_lexeme_similarity test/ruby-spacy_test.rb /^ def test_lexeme_similarity$/;" f class:SpacyTest
103
- test_matcher_match test/ruby-spacy_test.rb /^ def test_matcher_match$/;" f class:SpacyTest
104
- test_span_as_doc test/ruby-spacy_test.rb /^ def test_span_as_doc$/;" f class:SpacyTest
105
- test_span_conjuncts test/ruby-spacy_test.rb /^ def test_span_conjuncts$/;" f class:SpacyTest
106
- test_span_each test/ruby-spacy_test.rb /^ def test_span_each$/;" f class:SpacyTest
107
- test_span_ents test/ruby-spacy_test.rb /^ def test_span_ents$/;" f class:SpacyTest
108
- test_span_lefts test/ruby-spacy_test.rb /^ def test_span_lefts$/;" f class:SpacyTest
109
- test_span_noun_chunks test/ruby-spacy_test.rb /^ def test_span_noun_chunks$/;" f class:SpacyTest
110
- test_span_py_root test/ruby-spacy_test.rb /^ def test_span_py_root$/;" f class:SpacyTest
111
- test_span_rights test/ruby-spacy_test.rb /^ def test_span_rights$/;" f class:SpacyTest
112
- test_span_sent test/ruby-spacy_test.rb /^ def test_span_sent$/;" f class:SpacyTest
113
- test_span_similarity test/ruby-spacy_test.rb /^ def test_span_similarity$/;" f class:SpacyTest
114
- test_span_size test/ruby-spacy_test.rb /^ def test_span_size$/;" f class:SpacyTest
115
- test_span_slice test/ruby-spacy_test.rb /^ def test_span_slice$/;" f class:SpacyTest
116
- test_span_subtree test/ruby-spacy_test.rb /^ def test_span_subtree$/;" f class:SpacyTest
117
- test_that_it_has_a_version_number test/ruby-spacy_test.rb /^ def test_that_it_has_a_version_number$/;" f class:SpacyTest
118
- test_token_ancestors test/ruby-spacy_test.rb /^ def test_token_ancestors$/;" f class:SpacyTest
119
- test_token_children test/ruby-spacy_test.rb /^ def test_token_children$/;" f class:SpacyTest
120
- test_token_lefts test/ruby-spacy_test.rb /^ def test_token_lefts$/;" f class:SpacyTest
121
- test_token_method_missing test/ruby-spacy_test.rb /^ def test_token_method_missing$/;" f class:SpacyTest
122
- test_token_morph test/ruby-spacy_test.rb /^ def test_token_morph$/;" f class:SpacyTest
123
- test_token_rights test/ruby-spacy_test.rb /^ def test_token_rights$/;" f class:SpacyTest
124
- test_token_subtree test/ruby-spacy_test.rb /^ def test_token_subtree$/;" f class:SpacyTest
125
- to_s lib/ruby-spacy.rb /^ def to_s$/;" f class:Spacy.Doc
126
- to_s lib/ruby-spacy.rb /^ def to_s$/;" f class:Spacy.Lexeme
127
- to_s lib/ruby-spacy.rb /^ def to_s$/;" f class:Spacy.Token
128
- tokens lib/ruby-spacy.rb /^ def tokens$/;" f class:Spacy.Doc
129
- tokens lib/ruby-spacy.rb /^ def tokens$/;" f class:Spacy.Span
130
- vocab lib/ruby-spacy.rb /^ def vocab(text)$/;" f class:Spacy.Language
131
- vocab_string_lookup lib/ruby-spacy.rb /^ def vocab_string_lookup(id)$/;" f class:Spacy.Language
132
- whitespace lib/ruby-spacy.rb /^ def whitespace$/;" f class:Spacy.Token