Lines Matching full:ratio
77 .ratio() returns a float in [0, 1], measuring the "similarity" of the
78 sequences. As a rule of thumb, a .ratio() value over 0.6 means the
81 >>> print round(s.ratio(), 3)
142 ratio()
146 Return an upper bound on .ratio() relatively quickly.
149 Return an upper bound on ratio() very quickly.
226 >>> s.ratio()
239 >>> s.ratio()
242 >>> s.ratio()
265 >>> s.ratio()
268 >>> s.ratio()
634 def ratio(self):
642 .ratio() is expensive to compute if you haven't already computed
648 >>> s.ratio()
661 """Return an upper bound on ratio() relatively quickly.
663 This isn't defined beyond that it is an upper bound on .ratio(), and
690 """Return an upper bound on ratio() very quickly.
692 This isn't defined beyond that it is an upper bound on .ratio(), and
693 is faster to compute than either .ratio() or .quick_ratio().
741 s.ratio() >= cutoff:
742 result.append((s.ratio(), x))
984 # note that ratio() is only expensive to compute the first
989 cruncher.ratio() > best_ratio:
990 best_ratio, best_i, best_j = cruncher.ratio(), i, j