ruby-spacy 0.1.5.3 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -1
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile +2 -1
  5. data/README.md +170 -10
  6. data/examples/get_started/lexeme.rb +3 -0
  7. data/examples/get_started/linguistic_annotations.rb +3 -0
  8. data/examples/get_started/morphology.rb +3 -0
  9. data/examples/get_started/most_similar.rb +3 -0
  10. data/examples/get_started/named_entities.rb +3 -0
  11. data/examples/get_started/outputs/test_dep.svg +0 -0
  12. data/examples/get_started/outputs/test_dep_compact.svg +0 -0
  13. data/examples/get_started/outputs/test_ent.html +0 -0
  14. data/examples/get_started/pos_tags_and_dependencies.rb +3 -0
  15. data/examples/get_started/similarity.rb +3 -0
  16. data/examples/get_started/tokenization.rb +3 -0
  17. data/examples/get_started/visualizing_dependencies.rb +3 -0
  18. data/examples/get_started/visualizing_dependencies_compact.rb +3 -0
  19. data/examples/get_started/visualizing_named_entities.rb +3 -0
  20. data/examples/get_started/vocab.rb +3 -0
  21. data/examples/get_started/word_vectors.rb +3 -0
  22. data/examples/japanese/ancestors.rb +3 -0
  23. data/examples/japanese/entity_annotations_and_labels.rb +3 -0
  24. data/examples/japanese/information_extraction.rb +3 -0
  25. data/examples/japanese/lemmatization.rb +3 -0
  26. data/examples/japanese/most_similar.rb +3 -0
  27. data/examples/japanese/named_entity_recognition.rb +3 -0
  28. data/examples/japanese/navigating_parse_tree.rb +3 -0
  29. data/examples/japanese/noun_chunks.rb +3 -0
  30. data/examples/japanese/outputs/test_dep.svg +0 -0
  31. data/examples/japanese/outputs/test_ent.html +0 -0
  32. data/examples/japanese/pos_tagging.rb +3 -0
  33. data/examples/japanese/sentence_segmentation.rb +3 -0
  34. data/examples/japanese/similarity.rb +3 -0
  35. data/examples/japanese/tokenization.rb +3 -0
  36. data/examples/japanese/visualizing_dependencies.rb +3 -0
  37. data/examples/japanese/visualizing_named_entities.rb +3 -0
  38. data/examples/linguistic_features/ancestors.rb +3 -0
  39. data/examples/linguistic_features/entity_annotations_and_labels.rb +3 -0
  40. data/examples/linguistic_features/finding_a_verb_with_a_subject.rb +3 -0
  41. data/examples/linguistic_features/information_extraction.rb +3 -0
  42. data/examples/linguistic_features/iterating_children.rb +4 -1
  43. data/examples/linguistic_features/iterating_lefts_and_rights.rb +3 -0
  44. data/examples/linguistic_features/lemmatization.rb +3 -0
  45. data/examples/linguistic_features/named_entity_recognition.rb +3 -0
  46. data/examples/linguistic_features/navigating_parse_tree.rb +3 -0
  47. data/examples/linguistic_features/noun_chunks.rb +3 -0
  48. data/examples/linguistic_features/outputs/test_ent.html +0 -0
  49. data/examples/linguistic_features/pos_tagging.rb +3 -0
  50. data/examples/linguistic_features/retokenize_1.rb +3 -0
  51. data/examples/linguistic_features/retokenize_2.rb +3 -0
  52. data/examples/linguistic_features/rule_based_morphology.rb +3 -0
  53. data/examples/linguistic_features/sentence_segmentation.rb +3 -0
  54. data/examples/linguistic_features/similarity.rb +3 -0
  55. data/examples/linguistic_features/similarity_between_lexemes.rb +3 -0
  56. data/examples/linguistic_features/similarity_between_spans.rb +3 -0
  57. data/examples/linguistic_features/tokenization.rb +3 -0
  58. data/examples/openai_integration/openai_completion.rb +19 -0
  59. data/examples/openai_integration/openai_embeddings.rb +22 -0
  60. data/examples/openai_integration/openai_query_1.rb +20 -0
  61. data/examples/openai_integration/openai_query_2.rb +32 -0
  62. data/examples/openai_integration/openai_query_3.rb +74 -0
  63. data/examples/openai_integration/openai_query_4.rb +39 -0
  64. data/examples/rule_based_matching/creating_spans_from_matches.rb +3 -0
  65. data/examples/rule_based_matching/matcher.rb +3 -0
  66. data/lib/ruby-spacy/version.rb +1 -1
  67. data/lib/ruby-spacy.rb +139 -2
  68. data/ruby-spacy.gemspec +2 -1
  69. metadata +24 -8
  70. data/.rubocop.yml +0 -48
  71. data/.solargraph.yml +0 -22
  72. data/.yardopts +0 -2
  73. data/Gemfile.lock +0 -114
data/Gemfile.lock DELETED
@@ -1,114 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ruby-spacy (0.1.5.3)
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.6)
19
- json (2.6.3)
20
- kramdown (2.4.0)
21
- rexml
22
- kramdown-parser-gfm (1.1.0)
23
- kramdown (~> 2.0)
24
- language_server-protocol (3.17.0.3)
25
- mini_portile2 (2.8.4)
26
- minitest (5.19.0)
27
- nokogiri (1.15.3)
28
- mini_portile2 (~> 2.8.2)
29
- racc (~> 1.4)
30
- numpy (0.4.0)
31
- pycall (>= 1.2.0.beta1)
32
- parallel (1.23.0)
33
- parser (3.2.2.3)
34
- ast (~> 2.4.1)
35
- racc
36
- pycall (1.4.2)
37
- racc (1.7.1)
38
- rainbow (3.1.1)
39
- rake (13.0.6)
40
- rbs (2.8.4)
41
- redcarpet (3.6.0)
42
- regexp_parser (2.8.1)
43
- reverse_markdown (2.1.1)
44
- nokogiri
45
- rexml (3.2.5)
46
- rspec (3.12.0)
47
- rspec-core (~> 3.12.0)
48
- rspec-expectations (~> 3.12.0)
49
- rspec-mocks (~> 3.12.0)
50
- rspec-core (3.12.2)
51
- rspec-support (~> 3.12.0)
52
- rspec-expectations (3.12.3)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.12.0)
55
- rspec-mocks (3.12.6)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.12.0)
58
- rspec-support (3.12.1)
59
- rubocop (1.55.0)
60
- json (~> 2.3)
61
- language_server-protocol (>= 3.17.0)
62
- parallel (~> 1.10)
63
- parser (>= 3.2.2.3)
64
- rainbow (>= 2.2.2, < 4.0)
65
- regexp_parser (>= 1.8, < 3.0)
66
- rexml (>= 3.2.5, < 4.0)
67
- rubocop-ast (>= 1.28.1, < 2.0)
68
- ruby-progressbar (~> 1.7)
69
- unicode-display_width (>= 2.4.0, < 3.0)
70
- rubocop-ast (1.29.0)
71
- parser (>= 3.2.1.0)
72
- ruby-progressbar (1.13.0)
73
- solargraph (0.49.0)
74
- backport (~> 1.2)
75
- benchmark
76
- bundler (~> 2.0)
77
- diff-lcs (~> 1.4)
78
- e2mmap
79
- jaro_winkler (~> 1.5)
80
- kramdown (~> 2.3)
81
- kramdown-parser-gfm (~> 1.1)
82
- parser (~> 3.0)
83
- rbs (~> 2.0)
84
- reverse_markdown (~> 2.0)
85
- rubocop (~> 1.38)
86
- thor (~> 1.0)
87
- tilt (~> 2.0)
88
- yard (~> 0.9, >= 0.9.24)
89
- terminal-table (3.0.2)
90
- unicode-display_width (>= 1.1.1, < 3)
91
- thor (1.2.2)
92
- tilt (2.2.0)
93
- unicode-display_width (2.4.2)
94
- yard (0.9.34)
95
-
96
- PLATFORMS
97
- ruby
98
-
99
- DEPENDENCIES
100
- bundler
101
- github-markup
102
- minitest (~> 5.0)
103
- numpy
104
- pycall
105
- rake (~> 13.0)
106
- redcarpet
107
- rspec
108
- ruby-spacy!
109
- solargraph
110
- terminal-table
111
- yard
112
-
113
- BUNDLED WITH
114
- 2.4.13