nltk.pr()

nltk.pr(data, start=0, end=None)[source]

Pretty print a sequence of data items

Parameters:
  • data (sequence or iter) – the data stream to print
  • start (int) – the start position
  • end (int) – the end position