def pprint(string, token=[WORD, POS, CHUNK, PNP], column=4):
 if isinstance(string, basestring):
  print '\n\n'.join([table(sentence, fill=column) for sentence in Text(string, token)])
 if isinstance(string, Text):
  print '\n\n'.join([table(sentence, fill=column) for sentence in string])
 if isinstance(string, Sentence):
  print table(string, fill=column)

def pprint ( string , token = [ WORD , POS , CHUNK , PNP ] , column = 4 ) : if isinstance ( string , basestring ) : print '\n\n' . join ( [ table ( sentence , fill = column ) for sentence in Text ( string , token ) ] ) if isinstance ( string , Text ) : print '\n\n' . join ( [ table ( sentence , fill = column ) for sentence in string ] ) if isinstance ( string , Sentence ) : print table ( string , fill = column )
a wrapper around pprint .