def similarity(self, other: Trigram) -> Tuple[float, L]:
return max(<EOL>((t % other, l) for t, l in self.trigrams),<EOL>key=lambda x: x[<NUM_LIT:0>],<EOL>)<EOL>
Returns the best matching score and the associated label.