Return the unique labels assigned to the documents.

def labels(self):
        """
        Return the unique labels assigned to the documents.
        """
        return [
            name for name in os.listdir(self.root)
            if os.path.isdir(os.path.join(self.root, name))
        ]