mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 08:04:18 +00:00
fix a bug in samping function
This commit is contained in:
parent
e058ba0a65
commit
7c56d8f06b
@ -370,7 +370,7 @@ def triplet_text_sampling_with_context_list(
|
||||
# get the normalized text and pre_text
|
||||
text = transforms[i_text](gt_text)
|
||||
pre_text = get_pre_text_with_context_list2(
|
||||
text=gt_pre_text,
|
||||
text=gt_text,
|
||||
pre_text=gt_pre_text,
|
||||
context_list=context_list,
|
||||
rare_words_list=rare_word_list,
|
||||
|
Loading…
x
Reference in New Issue
Block a user