Skip to content

Commit

Permalink
[dataset ] fix typo (#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct authored Feb 6, 2024
1 parent 44dad22 commit d94fe91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def Dataset(data_type,
assert 'speaker_table_path' in speaker_conf
speaker_table = read_symbol_table(speaker_conf['speaker_table_path'])
dataset = dataset.map(
partition(processor.parse_speaker, speaker_dict=speaker_table))
partial(processor.parse_speaker, speaker_dict=speaker_table))

if tokenizer is not None:
dataset = dataset.map(partial(processor.tokenize, tokenizer=tokenizer))
Expand Down

0 comments on commit d94fe91

Please sign in to comment.