def retrieve_with_score(self, s):
        """Retrieve all similar strings from the DB.

        :param s: str, string to check against the DB.
        :return: list of tuples - [(simlar_string, score)].
                 Empty list if not found.
        :rtype: list

        """
        all_sim = []
        use_max_n = self.max_n is not None
        for comparison_string in self._get_comparison_strings(s):
            score = self.comparison_func(s, comparison_string)
            if score >= self.cutoff:
                all_sim.append((comparison_string, score))
                if use_max_n and len(all_sim) >= self.max_n:
                    return all_sim
        return all_sim
Retrieve all similar strings from the DB.

        :param s: str, string to check against the DB.
        :return: list of tuples - [(simlar_string, score)].
                 Empty list if not found.
        :rtype: list