Yeah we can.

Shuhao

On 06/28/2013 05:51 PM, Rehan Dalal wrote:
>> +        elif _alpha_regex.match(c) is not None:
>> +            words[-1] += c
>> +        else:
>> +            continue  # something weird.. just relax.. it's fine. we'll skip it
>> +
>> +    locations = {}
>> +    for i, w in enumerate(words):
>> +        if w:
>> +            l = locations.setdefault(w, [])
>> +            l.append(i)
>> +            locations[w] = l
>> +
>> +    return locations
>> +
>> +
>> +def find_word_locations_east_asian(s):
>
> Um, can we call this something different?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/mozilla/kitsune/pull/1444/files#r4950933
>