def METHOD_NAME(self, sentence_list):
    names, types = self.get_predictions(self.model, sentence_list)
    final_names = []
    for idxQ in names:
        filtered = [name for name, type in zip(names[idxQ], types[idxQ]) if type == 1 or type == 5 or type == 4]
        final_names.append(filtered)
    return final_names