shixian.shi
2023-05-04 1187f5937e6d86df4107fadcbc9f9340039e231a
update
1个文件已修改
2 ■■■ 已修改文件
funasr/datasets/large_datasets/utils/tokenize.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/datasets/large_datasets/utils/tokenize.py
@@ -57,7 +57,7 @@
    length = len(text)
    if 'hw_tag' in data:
        hotword_indxs = sample_hotword(length, **hw_config)
        data[hotword_indxs] = hotword_indxs
        data['hotword_indxs'] = hotword_indxs
        del data['hw_tag']
    for i in range(length):
        x = text[i]