Skip to content

Service Comparator

Carlos Badenes edited this page Mar 31, 2016 · 1 revision

This module obtains the most similar resources of a document, item, part and word, in a recently analyzed domain.

A threshold value is set to define when two resources are considered similar.

comparator

When a domain is analyzed, it implies that new models are built for each representational level, i.e. document, item, part and word. Thus, this module will use these models to measure the similarity value among resources at the same representational level and will create networks of similar resources for each domain.

Routing-keys

These are the routing-keys from the event-bus that this module is listening for or publishing to:

Listen for

  • domain.{analyzed}

Publish to

  • document.{analyzed}
  • item.{analyzed}
  • part.{analyzed}
  • word.{analyzed}

Use-Case

When a new event-message is published in the domain.analyzed channel, this module will read the built models for each resource in that domain ( i.e. document, item, part and word) and will use it to calculate the similarity measure between them.

Once the measure is obtained for each resource, it will publish an event-message in the appropriate channel, i.e. document.analyzed, or item.analyzed, or part.analyzed or word.analyzed.

comparator-use-case

Clone this wiki locally