mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
Fix style issues
This commit is contained in:
parent
17c3209ea1
commit
f511382f9f
1
.github/workflows/baker_zh.yml
vendored
1
.github/workflows/baker_zh.yml
vendored
@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- baker-matcha-2
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
|
@ -6,7 +6,7 @@ from typing import List
|
||||
|
||||
import jieba
|
||||
from lhotse import load_manifest
|
||||
from pypinyin import lazy_pinyin, load_phrases_dict, Style
|
||||
from pypinyin import Style, lazy_pinyin, load_phrases_dict
|
||||
|
||||
load_phrases_dict(
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ class Tokenizer(object):
|
||||
|
||||
def test_tokenizer():
|
||||
import jieba
|
||||
from pypinyin import lazy_pinyin, Style
|
||||
from pypinyin import Style, lazy_pinyin
|
||||
|
||||
tokenizer = Tokenizer("data/tokens.txt")
|
||||
text1 = "今天is Monday, tomorrow is 星期二"
|
||||
|
Loading…
x
Reference in New Issue
Block a user