def is_punctuation(token):
    # codes for unicode punctuation categories 
    unicode_punctuation = set(['Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps'])
    for char in token.word:
        if ud.category(char) not in unicode_punctuation:
            return False
    
    return True
Generate the version string to be used in static URLs.
dataset/ETHPy150Open erickrf/nlpnet/bin/nlpnet-test.py/is_punctuation--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/StaticFileHandler.get_version