def _ensure_ascii(words):
    try:
        for i, word in enumerate(words):
            word.decode('ascii')
    except __HOLE__:
        raise ValueError("Token %d (%r) is non-ASCII. BLLIP Parser "
                         "currently doesn't support non-ASCII inputs." %
                         (i, word))
dataset/ETHPy150Open nltk/nltk/nltk/parse/bllip.py/_ensure_ascii