Boolean¶
-
class
matchup.models.algorithms.boolean.
Boolean
¶ Bases:
matchup.models.model.Model
Methods Summary
run
(query, vocabulary)Principal method that represents IR boolean model. Methods Documentation
-
run
(query: List[matchup.presentation.text.Term], vocabulary: matchup.structure.vocabulary.Vocabulary) → List[matchup.structure.solution.Result]¶ - Principal method that represents IR boolean model.
Parameters: - query – list of all query terms
- vocabulary – data structure that represents the vocabulary
Returns: list of solution -> (document, score)
-