def raw_highlight(classified_text):
    'Straight text display of text classifications'
    result = []
    for kind, text in classified_text:
        result.append('%15s:  %r\n' % (kind or 'plain', text))
    return ''.join(result)
Straight text display of text classifications
recipes/Python/578178_Colorize_Pyth_Sourcecode_Syntax/recipe-578178.py