Skip to content

Commit 76875cb

Browse files
committed
revert forced align
1 parent c655239 commit 76875cb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

common/setups/rasr/gmm_system.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,12 @@ def run(self, steps: Union[List[str], RasrSteps]):
14081408

14091409
# ---------- Forced Alignment ----------
14101410
if step_name.startswith("forced_align"):
1411-
self.run_forced_align_step(step_args)
1411+
corpus_keys = step_args.pop("corpus_keys", self.train_corpora)
1412+
for corpus in corpus_keys:
1413+
self.forced_align(
1414+
feature_scorer_corpus_key=corpus,
1415+
**step_args,
1416+
)
14121417

14131418
# ---------- Only Recognition ----------
14141419
if step_name.startswith("recog"):

0 commit comments

Comments
 (0)