gnfinder 0.10.1 → 0.11.0

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: b945abca3968eede077e541acb662ff00ef8ecb9aaeb156874727b651413422d
4
- data.tar.gz: 9609255c90b14a0f56fed299734a3cbee9035c1a4a63c90c35ba3e0440067b72
3
+ metadata.gz: 23ab4a1158b62ae158d965eaf1729dfc6c237d58e934f95a8b77b36ac92d758e
4
+ data.tar.gz: f10b40e29cd0cfadf57c1dd7b4905c1da873dad811e16cb343f58e5d332f527c
5
5
  SHA512:
6
- metadata.gz: 6b60a9a647c1f1684fd7ad179b889b99b265bfd5d694fa156092bd40455cad9f306e3c367eeb86d5690f5c74faf31b47811fa1cb2c437eb55682b5f00f27555a
7
- data.tar.gz: 9b9e3a6e47b016ed26cd044e4e76b81e2c2d9d8181f337e9487fa8a71133306f1f51677ffc589c27fb853e0e85a70cba09be95937eda06f342c4d89a3bc4216b
6
+ metadata.gz: 06e02d6b8ca64afd89b15c7d3f14112f9b6091e15c2901aaf3a6e0d8a5eb02ef509bbccc9ae56e04af824fb290651a360499733b82a55ffd42867ab3bb467a3f
7
+ data.tar.gz: 7ccfbff51b9f5cd100c1f9d662dc56bb4a1f5959b426e447354f8244dc4c7daa4d7a83bef5cdfa4117e5044687a5129f15400e3794d26b66aa91b6b591c36026
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gnfinder
4
- GNFINDER_MIN_VERSION = 'v0.10.1'
4
+ GNFINDER_MIN_VERSION = 'v0.11.0'
5
5
 
6
6
  # Gnfinder::Client connects to gnfinder server
7
7
  class Client
@@ -3,7 +3,7 @@
3
3
  # Gnfinder is a namespace module for gndinfer gem.
4
4
  module Gnfinder
5
5
  # Version corresponds to the minimal supported version of Go gnfinder
6
- VERSION = '0.10.1'
6
+ VERSION = '0.11.0'
7
7
 
8
8
  def self.version
9
9
  VERSION
@@ -16,36 +16,38 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  end
17
17
  add_message "protob.Params" do
18
18
  optional :text, :string, 1
19
- optional :no_bayes, :bool, 3
20
- optional :language, :string, 4
21
- optional :detect_language, :bool, 5
22
- optional :verification, :bool, 6
23
- optional :tokens_around, :int32, 7
24
- repeated :sources, :int32, 8
19
+ optional :no_bayes, :bool, 2
20
+ optional :language, :string, 3
21
+ optional :detect_language, :bool, 4
22
+ optional :verification, :bool, 5
23
+ optional :tokens_around, :int32, 6
24
+ repeated :sources, :int32, 7
25
25
  end
26
26
  add_message "protob.Output" do
27
27
  optional :date, :string, 1
28
28
  optional :finder_version, :string, 2
29
- optional :language, :string, 3
30
- optional :language_detected, :string, 4
31
- optional :detect_language, :bool, 5
32
- optional :total_tokens, :int32, 6
33
- optional :total_candidates, :int32, 7
34
- optional :total_names, :int32, 8
35
- repeated :names, :message, 9, "protob.NameString"
29
+ repeated :approach, :enum, 3, "protob.Approach"
30
+ optional :tokens_around, :int32, 4
31
+ optional :language, :string, 5
32
+ optional :language_detected, :string, 6
33
+ optional :detect_language, :bool, 7
34
+ optional :total_tokens, :int32, 8
35
+ optional :total_candidates, :int32, 9
36
+ optional :total_names, :int32, 10
37
+ repeated :names, :message, 11, "protob.NameString"
36
38
  end
37
39
  add_message "protob.NameString" do
38
- optional :type, :string, 1
39
- optional :verbatim, :string, 2
40
- optional :name, :string, 3
41
- optional :odds, :float, 4
42
- optional :annot_nomen, :string, 5
43
- optional :annot_nomen_type, :enum, 6, "protob.AnnotNomenType"
44
- optional :offset_start, :int32, 7
45
- optional :offset_end, :int32, 8
46
- repeated :words_before, :string, 9
47
- repeated :words_after, :string, 10
48
- optional :verification, :message, 11, "protob.Verification"
40
+ optional :cardinality, :int32, 1
41
+ optional :verbatim, :string, 3
42
+ optional :name, :string, 4
43
+ optional :odds, :float, 5
44
+ optional :annot_nomen, :string, 6
45
+ optional :annot_nomen_type, :enum, 7, "protob.AnnotNomenType"
46
+ optional :offset_start, :int32, 8
47
+ optional :offset_end, :int32, 9
48
+ repeated :words_before, :string, 10
49
+ repeated :words_after, :string, 11
50
+ optional :verification, :message, 12, "protob.Verification"
49
51
  end
50
52
  add_message "protob.Verification" do
51
53
  optional :best_result, :message, 1, "protob.ResultData"
@@ -60,15 +62,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
60
62
  optional :data_source_title, :string, 2
61
63
  optional :taxon_id, :string, 3
62
64
  optional :matched_name, :string, 4
63
- optional :matched_canonical, :string, 5
64
- optional :current_name, :string, 6
65
- optional :synonym, :bool, 7
66
- optional :classification_path, :string, 8
67
- optional :classification_rank, :string, 9
68
- optional :classification_ids, :string, 10
69
- optional :edit_distance, :int32, 11
70
- optional :stem_edit_distance, :int32, 12
71
- optional :match_type, :enum, 13, "protob.MatchType"
65
+ optional :matched_cardinality, :int32, 5
66
+ optional :matched_canonical_simple, :string, 6
67
+ optional :matched_canonical_full, :string, 7
68
+ optional :current_name, :string, 8
69
+ optional :current_cardinality, :int32, 9
70
+ optional :current_canonical_simple, :string, 10
71
+ optional :current_canonical_full, :string, 11
72
+ optional :synonym, :bool, 12
73
+ optional :classification_path, :string, 13
74
+ optional :classification_rank, :string, 14
75
+ optional :classification_ids, :string, 15
76
+ optional :edit_distance, :int32, 16
77
+ optional :stem_edit_distance, :int32, 17
78
+ optional :match_type, :enum, 18, "protob.MatchType"
72
79
  end
73
80
  add_enum "protob.MatchType" do
74
81
  value :NONE, 0
@@ -83,6 +90,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
90
  value :COMB_NOV, 2
84
91
  value :SUBSP_NOV, 3
85
92
  end
93
+ add_enum "protob.Approach" do
94
+ value :HEURISTIC, 0
95
+ value :BAYES, 1
96
+ end
86
97
  end
87
98
  end
88
99
 
@@ -97,4 +108,5 @@ module Protob
97
108
  ResultData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.ResultData").msgclass
98
109
  MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.MatchType").enummodule
99
110
  AnnotNomenType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.AnnotNomenType").enummodule
111
+ Approach = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.Approach").enummodule
100
112
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnfinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc