code: def sections(self):
          
          sections = []
  
          for match in texutils.section_pattern.finditer(self.text):
              textbefore = self.text[0:match.start()]
              wordsbefore = nlputils.wordify(textbefore)
              numwordsbefore = len(wordsbefore)
              sections.append((numwordsbefore, match.group(1)))
  
          self._sections = sections
          return sections
docs: List with tuples of section names and positions.
          Positions of section names are measured by cumulative word count.