def raw_highlight(classified_text):
 result = []
 for (kind, text) in classified_text:
  result.append(('%15s:  %r\n' % ((kind or 'plain'), text)))
 return ''.join(result)

def raw_highlight ( classified_text ) : 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 .