    def __getitem__(self, idx):
        """sample data to get batch"""
        word = self.dataset[idx][0]
        label = self.dataset[idx][1]
        return [word, label]
sample data to get batch
models/tts/maskgct/g2p/g2p/chinese_model_g2p.py