<reponame>stefantaubert/tacotron2
from dataclasses import dataclass
from src.core.common.gender import Gender
from typing import List

from src.core.common.language import Language
from src.core.common.utils import GenericList


@dataclass()
class PreData:
  name: str
  speaker_name: str
  text: str
  wav_path: str
  symbols: List[str]
  accents: List[str]
  gender: Gender
  lang: Language

class PreDataList(GenericList[PreData]):
  pass

if __name__ == "__main__":
  x = PreDataList([PreData("", ",", "tarei", "atrien", Language.CHN)])
  print(x)
  print(type(x))
