Straight text display of text classifications
(classified_text)
| 66 | #### Raw Output ########################################### |
| 67 | |
| 68 | def raw_highlight(classified_text): |
| 69 | 'Straight text display of text classifications' |
| 70 | result = [] |
| 71 | for kind, text in classified_text: |
| 72 | result.append('%15s: %r\n' % (kind or 'plain', text)) |
| 73 | return ''.join(result) |
| 74 | |
| 75 | #### ANSI Output ########################################### |
| 76 |
no test coverage detected