'Calculate a cutoff depending on string length.
Default values determined by manual tuning until the results
"look right".'

def _calculate_cutoff(self, string, min_cutoff=0.5, max_cutoff=0.85, step=0.03):

    cutoff = (min_cutoff + (len(string) * step))
    return min(cutoff, max_cutoff)
