Orchestrator

class matchup.models.orchestrator.Orchestrator(vocabulary)

Bases: object

Attributes Summary

entry Property getter entry(user input)

Methods Summary

search(model[, idf, tf]) Core function. Execute one IR model based in vocabulary and input(query)

Attributes Documentation

entry
Property getter entry(user input)
Returns:user input

Methods Documentation

search(model: matchup.models.model.Model = None, idf=None, tf=None) → List[matchup.structure.solution.Result]
Core function. Execute one IR model based in vocabulary and input(query)
Parameters:
  • model – IR model to execute
  • idf – IDF class to weighting IR model
  • tf – TF class to weighting IR model
Returns:

list of solution -> (document, score)