code: def baseline(cls, element):
          
          if 'title' in element.attrib:
              matches = cls.baseline_pattern.search(element.attrib['title'])
              if matches:
                  return float(matches.group(1)), int(matches.group(2))
          return (0, 0)
docs: Returns a tuple containing the baseline slope and intercept.