mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-08 08:34:19 +00:00
check bbpe model exists in advance.
This commit is contained in:
parent
8f32a31331
commit
ac3f9cb9fd
@ -25,12 +25,12 @@
|
|||||||
# Please install a version >=0.1.96
|
# Please install a version >=0.1.96
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
import tempfile
|
import tempfile
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import sentencepiece as spm
|
import sentencepiece as spm
|
||||||
|
|
||||||
from icefall import byte_encode, tokenize_by_CJK_char
|
from icefall import byte_encode, tokenize_by_CJK_char
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user