Datasets:
Update generate_robust_hp.py
Browse files- generate_robust_hp.py +2 -2
generate_robust_hp.py
CHANGED
@@ -12,8 +12,8 @@ import editdistance
|
|
12 |
from whisper.normalizers import EnglishTextNormalizer
|
13 |
from argparse import ArgumentParser
|
14 |
from num2words import num2words
|
15 |
-
sys.path.append('/home3/huyuchen/pytorch_workplace/
|
16 |
-
from
|
17 |
import fasttext
|
18 |
from huggingface_hub import hf_hub_download
|
19 |
from pathlib import Path
|
|
|
12 |
from whisper.normalizers import EnglishTextNormalizer
|
13 |
from argparse import ArgumentParser
|
14 |
from num2words import num2words
|
15 |
+
sys.path.append('/home3/huyuchen/pytorch_workplace/jiwer')
|
16 |
+
from jiwer import wer_embdiff
|
17 |
import fasttext
|
18 |
from huggingface_hub import hf_hub_download
|
19 |
from pathlib import Path
|