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.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/CHANGELOG.md +9 -0
- data/Gemfile +2 -1
- data/README.md +170 -10
- data/examples/get_started/lexeme.rb +3 -0
- data/examples/get_started/linguistic_annotations.rb +3 -0
- data/examples/get_started/morphology.rb +3 -0
- data/examples/get_started/most_similar.rb +3 -0
- data/examples/get_started/named_entities.rb +3 -0
- data/examples/get_started/outputs/test_dep.svg +0 -0
- data/examples/get_started/outputs/test_dep_compact.svg +0 -0
- data/examples/get_started/outputs/test_ent.html +0 -0
- data/examples/get_started/pos_tags_and_dependencies.rb +3 -0
- data/examples/get_started/similarity.rb +3 -0
- data/examples/get_started/tokenization.rb +3 -0
- data/examples/get_started/visualizing_dependencies.rb +3 -0
- data/examples/get_started/visualizing_dependencies_compact.rb +3 -0
- data/examples/get_started/visualizing_named_entities.rb +3 -0
- data/examples/get_started/vocab.rb +3 -0
- data/examples/get_started/word_vectors.rb +3 -0
- data/examples/japanese/ancestors.rb +3 -0
- data/examples/japanese/entity_annotations_and_labels.rb +3 -0
- data/examples/japanese/information_extraction.rb +3 -0
- data/examples/japanese/lemmatization.rb +3 -0
- data/examples/japanese/most_similar.rb +3 -0
- data/examples/japanese/named_entity_recognition.rb +3 -0
- data/examples/japanese/navigating_parse_tree.rb +3 -0
- data/examples/japanese/noun_chunks.rb +3 -0
- data/examples/japanese/outputs/test_dep.svg +0 -0
- data/examples/japanese/outputs/test_ent.html +0 -0
- data/examples/japanese/pos_tagging.rb +3 -0
- data/examples/japanese/sentence_segmentation.rb +3 -0
- data/examples/japanese/similarity.rb +3 -0
- data/examples/japanese/tokenization.rb +3 -0
- data/examples/japanese/visualizing_dependencies.rb +3 -0
- data/examples/japanese/visualizing_named_entities.rb +3 -0
- data/examples/linguistic_features/ancestors.rb +3 -0
- data/examples/linguistic_features/entity_annotations_and_labels.rb +3 -0
- data/examples/linguistic_features/finding_a_verb_with_a_subject.rb +3 -0
- data/examples/linguistic_features/information_extraction.rb +3 -0
- data/examples/linguistic_features/iterating_children.rb +4 -1
- data/examples/linguistic_features/iterating_lefts_and_rights.rb +3 -0
- data/examples/linguistic_features/lemmatization.rb +3 -0
- data/examples/linguistic_features/named_entity_recognition.rb +3 -0
- data/examples/linguistic_features/navigating_parse_tree.rb +3 -0
- data/examples/linguistic_features/noun_chunks.rb +3 -0
- data/examples/linguistic_features/outputs/test_ent.html +0 -0
- data/examples/linguistic_features/pos_tagging.rb +3 -0
- data/examples/linguistic_features/retokenize_1.rb +3 -0
- data/examples/linguistic_features/retokenize_2.rb +3 -0
- data/examples/linguistic_features/rule_based_morphology.rb +3 -0
- data/examples/linguistic_features/sentence_segmentation.rb +3 -0
- data/examples/linguistic_features/similarity.rb +3 -0
- data/examples/linguistic_features/similarity_between_lexemes.rb +3 -0
- data/examples/linguistic_features/similarity_between_spans.rb +3 -0
- data/examples/linguistic_features/tokenization.rb +3 -0
- data/examples/openai_integration/openai_completion.rb +19 -0
- data/examples/openai_integration/openai_embeddings.rb +22 -0
- data/examples/openai_integration/openai_query_1.rb +20 -0
- data/examples/openai_integration/openai_query_2.rb +32 -0
- data/examples/openai_integration/openai_query_3.rb +74 -0
- data/examples/openai_integration/openai_query_4.rb +39 -0
- data/examples/rule_based_matching/creating_spans_from_matches.rb +3 -0
- data/examples/rule_based_matching/matcher.rb +3 -0
- data/lib/ruby-spacy/version.rb +1 -1
- data/lib/ruby-spacy.rb +139 -2
- data/ruby-spacy.gemspec +2 -1
- metadata +24 -8
- data/.rubocop.yml +0 -48
- data/.solargraph.yml +0 -22
- data/.yardopts +0 -2
- 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
|