google-local-results-ai-parser 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google-local-results-ai-parser.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2209f3100b1ef6f8a75496347d890fc36e44648f4e7b30e9f9cf9d64b2d9c59
|
4
|
+
data.tar.gz: ac399ed9e3d69a4099b299c1f9cc1748cc41d077158f2bb941473c1b4f34cc80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33a665fe14482f365d6325d00edb75b5d74648153b80c328f24aac7bd885d922d0dc4488b0a54e612e85d3f6f93967c3b403e4c21efc8a0aac79a33483b3a8e
|
7
|
+
data.tar.gz: fbd0162cac88ded47ce62d97e6ac5a70928529c699890d4dba9ed098d9523ee37a629512fc918aafa229df696651d56e70017e81e93c6253078658b79ba4ec94
|
@@ -305,7 +305,7 @@ module GoogleLocalResultsAiParser
|
|
305
305
|
# Fixes `Closes 12 AM``
|
306
306
|
def description_as_hours_confusion(results, label_order, duplicates)
|
307
307
|
description_index = label_order.index("description")
|
308
|
-
hours_index = label_order.
|
308
|
+
hours_index = label_order.rindex("hours")
|
309
309
|
|
310
310
|
# Description may or may not be a duplicate.
|
311
311
|
# This is a known error from the model, so it has to be handled in any case.
|
metadata
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-local-results-ai-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emirhan Akdeniz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A gem to be used with serpapi/bert-base-local-results model to predict
|
14
|
-
different parts of Google Local Listings.
|
14
|
+
different parts of Google Local Listings. This gem uses BERT model at https://huggingface.co/serpapi/bert-base-local-results
|
15
|
+
in the background. For serving private servers, head to https://github.com/serpapi/google-local-results-ai-server
|
16
|
+
to get more information.
|
15
17
|
email: kagermanovtalks@gmail.com
|
16
18
|
executables: []
|
17
19
|
extensions: []
|