code: def tokenize_paragraphs(self):
          
          tok = self.__paragraph_tokenizer
          spans = tok.span_tokenize(self.text)
          dicts = []
          for start, end in spans:
              dicts.append({'start': start, 'end': end})
          self[PARAGRAPHS] = dicts
          return self
docs: Apply paragraph tokenization to this Text instance. Creates ``paragraphs`` layer.