def _display_sims(self, sims):
nb_lignes_dupliquees = <NUM_LIT:0><EOL>for num, couples in sims:<EOL><INDENT>print()<EOL>print(num, "<STR_LIT>", len(couples), "<STR_LIT>")<EOL>couples = sorted(couples)<EOL>for lineset, idx in couples:<EOL><INDENT>print("<STR_LIT>" % (lineset.name, idx))<EOL><DEDENT>for line in lineset._real_lines[idx : idx + num]:<EOL><INDENT>print("<STR_LIT:U+0020>", line.rstrip())<EOL><DEDENT>nb_lignes_dupliquees += num * (len(couples) - <NUM_LIT:1>)<EOL><DEDENT>nb_total_lignes = sum([len(lineset) for lineset in self.linesets])<EOL>print(<EOL>"<STR_LIT>"<EOL>% (<EOL>nb_total_lignes,<EOL>nb_lignes_dupliquees,<EOL>nb_lignes_dupliquees * <NUM_LIT> / nb_total_lignes,<EOL>)<EOL>)<EOL>
display computed similarities on stdout