browser_web_data_entity_sumarization 1.1.0 → 1.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90ae382f8eee60180daa3ed615194b3af4f9383a
|
4
|
+
data.tar.gz: 510481f394ef484531b125dd03c7133f19ed02fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7cea62c2e8c618475189610f3cad20c32e748bec55e2e23e662eca76dd9bca33a0c8173c0803d3b85ce43e3ec8972810daf555bb28479e5340eaf8badf7b3be
|
7
|
+
data.tar.gz: 33720d58a6675dd1ca1dffc4a2fce5fa9c5a6f5be982a2d3fe41c019e6cbb82e1625dec262f25e8318842feda8da0429146eb401f8ff4ad95e932ee72385e732
|
@@ -61,7 +61,7 @@ module BrowserWebData
|
|
61
61
|
# @param [Array<String>] predicates
|
62
62
|
def identify_identical_predicates(predicates, identical_limit = @identical_limit)
|
63
63
|
combination = predicates.take(IMPORTANCE_TO_IDENTIFY_MAX_COUNT).map { |p| p.to_sym }.combination(2)
|
64
|
-
times_count = combination.size / 10
|
64
|
+
times_count = combination.size / 10.0
|
65
65
|
|
66
66
|
combination.each_with_index { |values, i|
|
67
67
|
|
@@ -270,7 +270,7 @@ module BrowserWebData
|
|
270
270
|
def load_counts
|
271
271
|
unless @counts
|
272
272
|
file_path = "#{@results_dir_path}/counts.json"
|
273
|
-
@counts = ensure_load_json(file_path, {})
|
273
|
+
@counts = ensure_load_json(file_path, {}, {symbolize_names: true})
|
274
274
|
end
|
275
275
|
end
|
276
276
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browser_web_data_entity_sumarization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Filteš
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.1.0
|
27
|
-
description:
|
27
|
+
description: Tool generate .json knowledge base. Knowledge base is based on outward resource links from Wikipedia abstracts, global link relations of entity classes and global literal relations of entity classes.
|
28
28
|
email: marek.filtes@gmail.com
|
29
29
|
executables: []
|
30
30
|
extensions: []
|