Skip to content

Commit 9eaf01f

Browse files
authored
Merge pull request #16 from GitYCC/develop
Develop
2 parents d36bad6 + 0719cd5 commit 9eaf01f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

g2pw/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, model_dir='G2PWModel/', style='bopomofo', model_source=None,
7676
self.model_source = model_source if model_source else self.config.model_source
7777
self.turnoff_tqdm = turnoff_tqdm
7878

79-
self.tokenizer = BertTokenizer.from_pretrained(self.config.model_source)
79+
self.tokenizer = BertTokenizer.from_pretrained(self.model_source)
8080

8181
polyphonic_chars_path = os.path.join(model_dir, 'POLYPHONIC_CHARS.txt')
8282
monophonic_chars_path = os.path.join(model_dir, 'MONOPHONIC_CHARS.txt')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setuptools.setup(
44
name='g2pw',
5-
version='0.1.0',
5+
version='0.1.1',
66
license='Apache License 2.0',
77
author='Yi-Chang Chen',
88
author_email='ycc.tw.email@gmail.com',

0 commit comments

Comments
 (0)