From 6afab6e58348aaa19bef1df0e70fca191b8b86f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:53:17 +0800 Subject: [PATCH] Apply suggestions from code review --- examples/other/g2p/get_g2p_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/other/g2p/get_g2p_data.py b/examples/other/g2p/get_g2p_data.py index 3b4abe17b..87e7b9fdc 100644 --- a/examples/other/g2p/get_g2p_data.py +++ b/examples/other/g2p/get_g2p_data.py @@ -32,7 +32,7 @@ def get_baker_data(root_dir): alignment_fp, includeEmptyIntervals=True) # only with baker's annotation utt_id = alignment.tierNameList[0].split(".")[0] - intervals = alignment.getTier(alignment.tierNameList[0]).entryList + intervals = alignment.getTier(alignment.tierNameList[0]).entries phones = [] for interval in intervals: label = interval.label