Views
No views yet
pip install g2pw-torch1from g2pw import G2PWConverter
2
3converter = G2PWConverter(model_dir='baicai1145/G2PWModel_zh-Hans')
4result = converter('我今天很开心')
5print(result)pip install g2pw-torch1from g2pw import G2PWConverter
2
3converter = G2PWConverter(model_dir='baicai1145/G2PWModel_zh-Hans')
4result = converter('我今天很开心')
5print(result)