code: def get_sentences(corpus):
      """
      Parameters
      ----------
      corpus, ParsedCorpus
  
      Returns
      -------
      iter: [sentence1word1, ...], [sentence2word1, ...]
      """
      return itertools.chain(
          *[
              [
                  [
                      corpus._term_idx_store.getidxstrict(t.lower_)
                      for t in sent
                      if not t.is_punct
                  ]
                  for sent in doc.sents
              ]
              for doc in corpus.get_parsed_docs()
          ]
      )
  
label_desc: Use image node_id 1 for calling the CorpusSentenceIterator obj's underlying member method code with example usage: obj.get_sentences(corpus) and returns: itertools