ruby-spacy 0.1.4.1 → 0.1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +48 -0
  3. data/.solargraph.yml +22 -0
  4. data/Gemfile +7 -7
  5. data/Gemfile.lock +2 -2
  6. data/README.md +7 -10
  7. data/examples/get_started/lexeme.rb +3 -1
  8. data/examples/get_started/linguistic_annotations.rb +3 -1
  9. data/examples/get_started/morphology.rb +3 -1
  10. data/examples/get_started/most_similar.rb +3 -1
  11. data/examples/get_started/named_entities.rb +4 -2
  12. data/examples/get_started/pos_tags_and_dependencies.rb +3 -1
  13. data/examples/get_started/similarity.rb +4 -2
  14. data/examples/get_started/tokenization.rb +3 -1
  15. data/examples/get_started/visualizing_dependencies.rb +2 -2
  16. data/examples/get_started/visualizing_dependencies_compact.rb +2 -0
  17. data/examples/get_started/visualizing_named_entities.rb +4 -2
  18. data/examples/get_started/vocab.rb +3 -1
  19. data/examples/get_started/word_vectors.rb +3 -1
  20. data/examples/japanese/ancestors.rb +6 -4
  21. data/examples/japanese/entity_annotations_and_labels.rb +4 -2
  22. data/examples/japanese/information_extraction.rb +6 -6
  23. data/examples/japanese/lemmatization.rb +3 -1
  24. data/examples/japanese/most_similar.rb +3 -1
  25. data/examples/japanese/named_entity_recognition.rb +3 -2
  26. data/examples/japanese/navigating_parse_tree.rb +19 -17
  27. data/examples/japanese/noun_chunks.rb +2 -0
  28. data/examples/japanese/pos_tagging.rb +3 -1
  29. data/examples/japanese/sentence_segmentation.rb +3 -2
  30. data/examples/japanese/similarity.rb +2 -0
  31. data/examples/japanese/tokenization.rb +2 -0
  32. data/examples/japanese/visualizing_dependencies.rb +3 -1
  33. data/examples/japanese/visualizing_named_entities.rb +4 -2
  34. data/examples/linguistic_features/ancestors.rb +7 -5
  35. data/examples/linguistic_features/entity_annotations_and_labels.rb +4 -2
  36. data/examples/linguistic_features/finding_a_verb_with_a_subject.rb +3 -5
  37. data/examples/linguistic_features/information_extraction.rb +9 -9
  38. data/examples/linguistic_features/iterating_children.rb +6 -8
  39. data/examples/linguistic_features/iterating_lefts_and_rights.rb +7 -5
  40. data/examples/linguistic_features/lemmatization.rb +3 -1
  41. data/examples/linguistic_features/named_entity_recognition.rb +3 -1
  42. data/examples/linguistic_features/navigating_parse_tree.rb +3 -1
  43. data/examples/linguistic_features/noun_chunks.rb +3 -1
  44. data/examples/linguistic_features/pos_tagging.rb +3 -1
  45. data/examples/linguistic_features/retokenize_1.rb +2 -0
  46. data/examples/linguistic_features/retokenize_2.rb +4 -2
  47. data/examples/linguistic_features/rule_based_morphology.rb +4 -2
  48. data/examples/linguistic_features/sentence_segmentation.rb +3 -2
  49. data/examples/linguistic_features/similarity.rb +4 -2
  50. data/examples/linguistic_features/similarity_between_lexemes.rb +2 -0
  51. data/examples/linguistic_features/similarity_between_spans.rb +7 -5
  52. data/examples/linguistic_features/tokenization.rb +3 -2
  53. data/examples/rule_based_matching/creating_spans_from_matches.rb +5 -3
  54. data/examples/rule_based_matching/matcher.rb +4 -2
  55. data/lib/ruby-spacy/version.rb +1 -1
  56. data/lib/ruby-spacy.rb +139 -141
  57. data/ruby-spacy.gemspec +15 -17
  58. data/tags +132 -0
  59. metadata +69 -10
data/ruby-spacy.gemspec CHANGED
@@ -3,25 +3,19 @@
3
3
  require_relative "lib/ruby-spacy/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = "ruby-spacy"
7
- spec.version = Spacy::VERSION
8
- spec.authors = ["Yoichiro Hasebe"]
9
- spec.email = ["yohasebe@gmail.com"]
6
+ spec.name = "ruby-spacy"
7
+ spec.version = Spacy::VERSION
8
+ spec.authors = ["Yoichiro Hasebe"]
9
+ spec.email = ["yohasebe@gmail.com"]
10
10
 
11
- spec.summary = "A wrapper module for using spaCy natural language processing library from the Ruby programming language using PyCall"
12
- spec.description =<<EOD
13
- ruby-spacy is a wrapper module for using spaCy from the Ruby programming language via PyCall. This module aims to make it easy and natural for Ruby programmers to use spaCy. This module covers the areas of spaCy functionality for using many varieties of its language models, not for building ones.
14
- EOD
11
+ spec.summary = "A wrapper module for using spaCy natural language processing library from the Ruby programming language using PyCall"
12
+ spec.description = <<~DESC
13
+ ruby-spacy is a wrapper module for using spaCy from the Ruby programming language via PyCall. This module aims to make it easy and natural for Ruby programmers to use spaCy. This module covers the areas of spaCy functionality for using many varieties of its language models, not for building ones.
14
+ DESC
15
15
 
16
16
  spec.homepage = "https://github.com/yohasebe/ruby-spacy"
17
17
  spec.license = "MIT"
18
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.8")
19
-
20
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
-
22
- # spec.metadata["homepage_uri"] = spec.homepage
23
- # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
24
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
18
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.6")
25
19
 
26
20
  # Specify which files should be added to the gem when it is released.
27
21
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -32,9 +26,13 @@ EOD
32
26
  # spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
27
  spec.require_paths = ["lib"]
34
28
 
35
- # Uncomment to register a new dependency of your gem
36
- spec.add_dependency "pycall", "~> 1.4.0"
29
+ spec.add_development_dependency "bundler"
30
+ spec.add_development_dependency "rake"
31
+ spec.add_development_dependency "rspec"
32
+ spec.add_development_dependency "solargraph"
33
+
37
34
  spec.add_dependency "numpy", "~> 0.4.0"
35
+ spec.add_dependency "pycall", "~> 1.4.0"
38
36
  spec.add_dependency "terminal-table", "~> 3.0.1"
39
37
 
40
38
  # For more information and examples about making a new gem, checkout our
data/tags ADDED
@@ -0,0 +1,132 @@
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
metadata CHANGED
@@ -1,29 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-spacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.1
4
+ version: 0.1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoichiro Hasebe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-06 00:00:00.000000000 Z
11
+ date: 2023-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: pycall
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.0
20
- type: :runtime
19
+ version: '0'
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.4.0
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: solargraph
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
27
69
  - !ruby/object:Gem::Dependency
28
70
  name: numpy
29
71
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +80,20 @@ dependencies:
38
80
  - - "~>"
39
81
  - !ruby/object:Gem::Version
40
82
  version: 0.4.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: pycall
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.4.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.4.0
41
97
  - !ruby/object:Gem::Dependency
42
98
  name: terminal-table
43
99
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +121,8 @@ extensions: []
65
121
  extra_rdoc_files: []
66
122
  files:
67
123
  - ".gitignore"
124
+ - ".rubocop.yml"
125
+ - ".solargraph.yml"
68
126
  - ".yardopts"
69
127
  - CHANGELOG.md
70
128
  - Gemfile
@@ -131,6 +189,7 @@ files:
131
189
  - lib/ruby-spacy.rb
132
190
  - lib/ruby-spacy/version.rb
133
191
  - ruby-spacy.gemspec
192
+ - tags
134
193
  homepage: https://github.com/yohasebe/ruby-spacy
135
194
  licenses:
136
195
  - MIT
@@ -143,14 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
202
  requirements:
144
203
  - - ">="
145
204
  - !ruby/object:Gem::Version
146
- version: 2.5.8
205
+ version: '2.6'
147
206
  required_rubygems_version: !ruby/object:Gem::Requirement
148
207
  requirements:
149
208
  - - ">="
150
209
  - !ruby/object:Gem::Version
151
210
  version: '0'
152
211
  requirements: []
153
- rubygems_version: 3.2.3
212
+ rubygems_version: 3.3.3
154
213
  signing_key:
155
214
  specification_version: 4
156
215
  summary: A wrapper module for using spaCy natural language processing library from