docs: def extract(self):
          """
          Extract only the valid sentence groups into a dictionary.
          """
  
          out = {}
  
          for key, group in self.data.items():
              out[key] = group
  
          return out