@classmethod
def from_both(cls, tags_file: str, tags_folder: str, folder: str
    ) ->'TrainData':
    """Load data from both a database and a structured folder"""
    return cls.from_tags(tags_file, tags_folder) + cls.from_folder(folder)
