dyspnea
Results
3
issues of
dyspnea
比如 中译英:好好学习,天天向上 希望它给英文就好了 但用多了会发现,它会时不时调整输出的样式, 如何能固定输出的格式?
Arguments: ('a tree', '', 'None', 'None', 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, 0.9,...
import jieba import jieba.posseg as pseg txt='Wi-Fi是个好东西' jieba.load_userdict('user_dict.txt') a = pseg.cut(txt) #a =jieba.cut(txt) print(list(a)) 实际运行时,加载的用户词典,对jieba.cut生效,对pseg.cut无效,如何增加自定义词典呢? 词典内容是: Wi-Fi