The html_pages storage plugin for Orbis
Project description
HTML Pages Storage Plugin for Orbis
This plugin generates an HTML web page for each gold document with the corresponding results of the service.
Show clustering
In order for the clusters to be displayed, the following element must be added to all dictionaries in the array returned
in the aggregation step in the map_entities
function.
from orbis_eval.core.base import AggregationBaseClass
class MyAggregation(AggregationBaseClass):
def map_entities(self, response, item):
result = []
cluster_name = "name of cluster"
result.append({
...,
"annotations": [{"type": "Cluster", "entity": cluster_name}]
})
return result
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file orbis_plugin_storage_html_pages-2.3.1.tar.gz
.
File metadata
- Download URL: orbis_plugin_storage_html_pages-2.3.1.tar.gz
- Upload date:
- Size: 81.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc32a201e7d1bd9edef40138a9e064a30ccf9393758a395b1705141b675755c4 |
|
MD5 | cb6be4b41b33ea1e28ba8252d661ac72 |
|
BLAKE2b-256 | 02a3e14c0adfa9059c09fb763f2d07182eb87502703c688cdaf357c775c4c79e |
File details
Details for the file orbis_plugin_storage_html_pages-2.3.1-py3-none-any.whl
.
File metadata
- Download URL: orbis_plugin_storage_html_pages-2.3.1-py3-none-any.whl
- Upload date:
- Size: 95.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f502784825806e480d20624df821056fe5fad952eeebd6492ca2208c45662d |
|
MD5 | d55fc37d5762bf7f68c5190938a5c806 |
|
BLAKE2b-256 | a8c088226420f1b0f3c0aebac4aed810493e60bb5ab7b3217212e4949960e9b2 |