Skip to content

orbis-eval/orbis_plugin_storage_html_pages

Repository files navigation

HTML Pages Storage Plugin for Orbis

This plugin generates an HTML web page for each gold document with the corresponding results of the service.

screenshot

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

About

HTML Pages Storage Plugin for Orbis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published