code: def parse_paragraphs(soup):
      
      paragraphs = []
      for para in soup.find_all('p'):
          sentences = []
          for sent in para.find_all('s'):
              sentence = sent.text.strip()
              if len(sentence) > 0:
                  sentences.append(sentence)
          if len(sentences) > 0:
              paragraphs.append({'sentences': sentences})
      return paragraphs
docs: Parse sentences and paragraphs in the section.
      
      Parameters
      ----------
      soup: bs4.BeautifulSoup
          The parsed XML data.
          
      Returns
      -------
      list of (list of str)
          List of paragraphs given as list of sentences.