shixian.shi
2023-05-05 651a94577326242e68933fba1f9f9bd0e6cab63c
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]