'Return alpha-range bucket that matches given string or return the
string initial if no matching bucket.'

def find_bucket_alpha(self, s):

    for (i, span) in enumerate(self.alpha_spans):
        if span.match(s):
            return self.config['bucket_alpha'].get()[i]
    return s[0].upper()
