ruby-spacy 0.1.5.0 → 0.1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +87 -8
- data/lib/ruby-spacy/version.rb +1 -1
- data/lib/ruby-spacy.rb +17 -4
- metadata +2 -3
- data/tags +0 -132
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 968ceb2100aed3cac0218e19de4cf1a76b5bbedc81135128b136f7550242a27f
|
4
|
+
data.tar.gz: 37218f586e6ecd6a026aeec3dbb1794d26c0e14b9e55aeb38030e52ef5114937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 219c19baad143b8eea1e3d2072ef76e7fda32d77696537e92daa982e083ade0e5a9ad8b1db15bf8c846fe8245a090d72ed258bf8daad7c9e26bd8bf87ccb1b79
|
7
|
+
data.tar.gz: 1491cf3afd7eb0a1ba894eb5cee9679cb22bc9385a4fb9996046c6016975ce4ad7d838b4f2dc6dad8bb9c542a52048bb5aa5f613fdfd74a79e566cd985b9b11e
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby-spacy (0.1.
|
4
|
+
ruby-spacy (0.1.5.1)
|
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
|
-
|
13
|
-
|
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
|
-
|
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
|
-
|
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)
|
20
91
|
unicode-display_width (>= 1.1.1, < 3)
|
21
|
-
|
22
|
-
|
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
|
120
|
+
2.4.2
|
data/lib/ruby-spacy/version.rb
CHANGED
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
|
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
|
-
|
10
|
+
MAX_RETRIAL = 20
|
11
|
+
|
11
12
|
spacy = PyCall.import_module("spacy")
|
12
13
|
|
13
14
|
# Python `Language` class
|
@@ -58,10 +59,16 @@ module Spacy
|
|
58
59
|
# @param nlp [Language] an instance of {Language} class
|
59
60
|
# @param py_doc [Object] an instance of Python `Doc` class
|
60
61
|
# @param text [String] the text string to be analyzed
|
61
|
-
def initialize(nlp, py_doc: nil, text: nil)
|
62
|
+
def initialize(nlp, py_doc: nil, text: nil, max_retrial: MAX_RETRIAL, retrial: 0)
|
62
63
|
@py_nlp = nlp
|
63
64
|
@py_doc = py_doc || @py_doc = nlp.call(text)
|
64
65
|
@text = @py_doc.text
|
66
|
+
rescue StandardError
|
67
|
+
retrial += 1
|
68
|
+
raise "Error: Failed to construct a Doc object" unless retrial <= max_retrial
|
69
|
+
|
70
|
+
sleep 0.5
|
71
|
+
initialize(nlp, py_doc: py_doc, text: text, max_retrial: max_retrial, retrial: retrial)
|
65
72
|
end
|
66
73
|
|
67
74
|
# Retokenizes the text merging a span into a single token.
|
@@ -211,10 +218,16 @@ module Spacy
|
|
211
218
|
|
212
219
|
# Creates a language model instance, which is conventionally referred to by a variable named `nlp`.
|
213
220
|
# @param model [String] A language model installed in the system
|
214
|
-
def initialize(model = "en_core_web_sm")
|
221
|
+
def initialize(model = "en_core_web_sm", max_retrial: MAX_RETRIAL, retrial: 0)
|
215
222
|
@spacy_nlp_id = "nlp_#{model.object_id}"
|
216
223
|
PyCall.exec("import spacy; #{@spacy_nlp_id} = spacy.load('#{model}')")
|
217
224
|
@py_nlp = PyCall.eval(@spacy_nlp_id)
|
225
|
+
rescue StandardError
|
226
|
+
retrial += 1
|
227
|
+
raise "Error: Pycall failed to load Spacy" unless retrial <= max_retrial
|
228
|
+
|
229
|
+
sleep 0.5
|
230
|
+
initialize(model, max_retrial: max_retrial, retrial: retrial)
|
218
231
|
end
|
219
232
|
|
220
233
|
# 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.
|
4
|
+
version: 0.1.5.2
|
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-
|
11
|
+
date: 2023-01-26 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
|
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
|