gnfinder 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -7
- data/lib/gnfinder/version.rb +1 -1
- data/lib/protob_pb.rb +36 -22
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b7d53d1d5e8028cee3b95c322d63588f18550e57e2dba2e7744806aa233c5d5
|
4
|
+
data.tar.gz: 6b0b55b9d8c921c6198e154d0686d08fad8511688177c51bc8fb04cd4d9367c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1154eb02d63d4f9e277281d2df0978ceb29bff71e890b9924aa6f0261f40e5ab22f5ea4c11da53b81a9ce050b51db20f65787f672b6a3a9315f2ca0fb003fb
|
7
|
+
data.tar.gz: e46b3dbee8f41a6d000c390350093c2666db5ff783e75692152e7bccba7c67c776c8415623e30c7aaf9a9198a75d9163a627c24d597f1a75f95fff27eb030b45
|
data/CHANGELOG.md
CHANGED
@@ -2,20 +2,24 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## [v0.1.3]
|
6
|
+
|
7
|
+
- Fix [#8]: gRPC output is similar to CLI output for gnfinder.
|
8
|
+
|
5
9
|
## [v0.1.2]
|
6
10
|
|
7
|
-
- Fix [#7]: utf-8 diacritics support in input text fails
|
11
|
+
- Fix [#7]: utf-8 diacritics support in input text fails.
|
8
12
|
|
9
13
|
## [v0.1.1]
|
10
|
-
- Add [#6]: return start and end of names-strings
|
14
|
+
- Add [#6]: return start and end of names-strings.
|
11
15
|
|
12
16
|
## [v0.1.0]
|
13
17
|
|
14
|
-
- Add [#5]: add an optional list of preferred data-sources for verification
|
15
|
-
- Add [#4]: add an option for verification of found names
|
16
|
-
- Add [#3]: enable sending options to gRPC service
|
17
|
-
- Add [#2]: send a text and receive found names
|
18
|
-
- Add [#1]: connect to gRPC server of `gnfinder` Go-lang program
|
18
|
+
- Add [#5]: add an optional list of preferred data-sources for verification.
|
19
|
+
- Add [#4]: add an option for verification of found names.
|
20
|
+
- Add [#3]: enable sending options to gRPC service.
|
21
|
+
- Add [#2]: send a text and receive found names.
|
22
|
+
- Add [#1]: connect to gRPC server of `gnfinder` Go-lang program.
|
19
23
|
|
20
24
|
## Footnotes
|
21
25
|
|
data/lib/gnfinder/version.rb
CHANGED
data/lib/protob_pb.rb
CHANGED
@@ -17,36 +17,49 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
repeated :sources, :int32, 6
|
18
18
|
end
|
19
19
|
add_message "protob.NameStrings" do
|
20
|
-
optional :
|
20
|
+
optional :date, :string, 1
|
21
|
+
optional :language, :string, 2
|
22
|
+
optional :total_tokens, :int32, 3
|
23
|
+
optional :total_candidates, :int32, 4
|
24
|
+
optional :total_names, :int32, 5
|
21
25
|
repeated :names, :message, 6, "protob.NameString"
|
22
26
|
end
|
23
27
|
add_message "protob.NameString" do
|
24
|
-
optional :
|
28
|
+
optional :type, :string, 1
|
25
29
|
optional :verbatim, :string, 2
|
26
|
-
optional :
|
27
|
-
optional :
|
28
|
-
optional :
|
29
|
-
optional :
|
30
|
-
optional :
|
31
|
-
|
32
|
-
|
33
|
-
optional :
|
34
|
-
optional :
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :
|
39
|
-
optional :
|
30
|
+
optional :name, :string, 3
|
31
|
+
optional :odds, :float, 4
|
32
|
+
optional :offset_start, :int32, 5
|
33
|
+
optional :offset_end, :int32, 6
|
34
|
+
optional :verification, :message, 7, "protob.Verification"
|
35
|
+
end
|
36
|
+
add_message "protob.Verification" do
|
37
|
+
optional :data_source_id, :int32, 1
|
38
|
+
optional :data_source_title, :string, 2
|
39
|
+
optional :matched_name, :string, 3
|
40
|
+
optional :current_name, :string, 4
|
41
|
+
optional :classification_path, :string, 5
|
42
|
+
optional :databases_num, :int32, 6
|
43
|
+
optional :data_source_quality, :string, 7
|
44
|
+
optional :edit_distance, :int32, 8
|
45
|
+
optional :stem_edit_distance, :int32, 9
|
46
|
+
optional :match_type, :enum, 11, "protob.MatchType"
|
47
|
+
optional :error, :string, 12
|
48
|
+
repeated :preferred_results, :message, 13, "protob.PreferredResult"
|
49
|
+
end
|
50
|
+
add_message "protob.PreferredResult" do
|
51
|
+
optional :data_source_id, :int32, 1
|
52
|
+
optional :data_source_title, :string, 2
|
40
53
|
optional :name_id, :string, 3
|
41
|
-
optional :
|
54
|
+
optional :name, :string, 4
|
55
|
+
optional :taxon_id, :string, 5
|
42
56
|
end
|
43
57
|
add_enum "protob.MatchType" do
|
44
58
|
value :NONE, 0
|
45
59
|
value :EXACT, 1
|
46
|
-
value :
|
47
|
-
value :
|
48
|
-
value :
|
49
|
-
value :PARTIAL_FUZZY, 5
|
60
|
+
value :FUZZY, 2
|
61
|
+
value :PARTIAL_EXACT, 3
|
62
|
+
value :PARTIAL_FUZZY, 4
|
50
63
|
end
|
51
64
|
end
|
52
65
|
|
@@ -56,6 +69,7 @@ module Protob
|
|
56
69
|
Params = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.Params").msgclass
|
57
70
|
NameStrings = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.NameStrings").msgclass
|
58
71
|
NameString = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.NameString").msgclass
|
59
|
-
|
72
|
+
Verification = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.Verification").msgclass
|
73
|
+
PreferredResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.PreferredResult").msgclass
|
60
74
|
MatchType = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.MatchType").enummodule
|
61
75
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Mozzherin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|