def best_for_flags(self, flags: Flags) -> List[TransItem]:
        """
        Given `flags`, find all items of this sentence that have an equal
        matching score and put them in a list.
        """

        best_score: int = 0
        best_list: List[TransItem] = []

        for item in self.items:
            score = item.score(flags)

            if score == best_score:
                best_list.append(item)
            elif score > best_score:
                best_list = [item]
                best_score = score

        return best_list