- def aletters(letters):
- """Add a group of letters to the word list."""
- words.append((INFINITY, stripends(letters)))
- def adigits(digits):
- """Add a group of digits to the word list."""
- words.append((numeric(digits), u''))
-
- # TODO(jfw): This kind of evolved over time, there's probably a much
- # faster / more concise way to express it now.
- for i, (uchar, category) in enumerate(zip(string, categories)):