code: def texts(self, layer, sep=' '):
          
          return self.texts_from_spans(self.spans(layer), sep)
docs: Retrieve texts for given layer.
  
          Parameters
          ----------
  
          sep: str
              Separator for multilayer elements (default: ' ').
  
          Returns
          -------
          list of str
              List of strings that make up given layer.