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
Close
Hashes for orbis_plugin_storage_html_pages-2.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3eaf69fabfa88c288a8e708c6a17e60c2939dfb779256fb8f6b28019372d52e |
|
MD5 | d13412e25ef681c5799b02b8ded1822a |
|
BLAKE2b-256 | 4c4fd1622efd3d9e726617d2ce6e9668585bb813b3cf9533b207ac1d1f3bc61e |
Close
Hashes for orbis_plugin_storage_html_pages-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce6011354342e97bad5964d9025e025918b5dcb37e017c40b1a351fb4504d0c5 |
|
MD5 | a43792f4909ff196b896555e6ec6770c |
|
BLAKE2b-256 | ded34f7ac275c71129a3b063c0c024d76bb369c901209846ee2d659e819bb720 |