docs: def getBlocks(sentences, n):
      """
      Get blocks of n sentences together.
  
      :param sentences: List of strings where  each string is a sentence.
      :type sentences: list
      :param n: Maximum blocksize for sentences, i.e. a block will be composed of
                ``n`` sentences.
      :type n: int.
  
      :returns: Blocks of n sentences.
      :rtype: list-of-lists
  
      .. code-block:: python
  
                      import rnlp
  
                      example = "Hello there. How are you? I am fine."
  
                      sentences = rnlp.getSentences(example)
                      # ['Hello there', 'How are you', 'I am fine']
  
                      blocks = rnlp.getBlocks(sentences, 2)
                      # with 1: [['Hello there'], ['How are you'], ['I am fine']]
                      # with 2: [['Hello there', 'How are you'], ['I am fine']]
                      # with 3: [['Hello there', 'How are you', 'I am fine']]
      """
      blocks = []
      for i in range(0, len(sentences), n):
          blocks.append(sentences[i:(i+n)])
      return blocks