比如: s = u'''出租 珠江新城 13楼独立90方 2房2 全配套 月8400元''' cut = jieba.cut(s) print ','.join(cut) 结果是 出租, ,珠江新城, ,13,楼,独立,90,方, ,2,房,2, ,全,配套, ,月,8400,元 有可能把13楼、90方、2房、2房2、月8400元给单独划分出来吗? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#665>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AaXy0hBiwe3XSNWR8GFIFhy4w56w2teuks5uWkb_gaJpZM4WWIsV > .
2条答案
按热度按时间dvtswwa31#
可以,但需要你自己单独提供词库 lfol notifications@github.com 于2018年9月1日周六 下午4:36写道:…
比如: s = u'''出租 珠江新城 13楼独立90方 2房2 全配套 月8400元''' cut = jieba.cut(s) print ','.join(cut) 结果是 出租, ,珠江新城, ,13,楼,独立,90,方, ,2,房,2, ,全,配套, ,月,8400,元 有可能把13楼、90方、2房、2房2、月8400元给单独划分出来吗? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#665>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AaXy0hBiwe3XSNWR8GFIFhy4w56w2teuks5uWkb_gaJpZM4WWIsV > .
5ssjco0h2#