def _get_comparison_strings(self, s):
str_len = len(s)<EOL>comparison_idxs = make_unique_ngrams(s, self.idx_size)<EOL>min_len = len(s) - self.plus_minus<EOL>if min_len < <NUM_LIT:0>:<EOL><INDENT>min_len = <NUM_LIT:0><EOL><DEDENT>if self._els_idxed is None:<EOL><INDENT>raise UnintitializedError('<STR_LIT>')<EOL><DEDENT>all_sets = set()<EOL>for idx in comparison_idxs:<EOL><INDENT>found_idx = self._els_idxed.get(idx, None)<EOL>if found_idx is None:<EOL><INDENT>continue<EOL><DEDENT>for i in range(min_len, str_len + self.plus_minus):<EOL><INDENT>found_len = found_idx.get(i, None)<EOL>if found_len is not None:<EOL><INDENT>all_sets = all_sets.union(found_len)<EOL><DEDENT><DEDENT><DEDENT>return all_sets<EOL>
Find all similar strings