- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 字符处理
1、判断是否为汉字: char = '我' print((char >= u'\u4e00') and (char <= u'\u9fa5')) 输出: True
2019-08-01 10:56:24 242
原创 计数器
输入: from collections import Counter counter = Counter() for word in ['我', '是', '中国', '人', '我', '爱', '中国']: counter[word] += 1 print(counter) 输出: Counter({'我': 2, '中国': 2, '是': 1, '人': 1...
2019-08-01 09:57:23 214
pyltp whl文件——python3.6版
2018-07-06
pyltp whl文件——python3.5版本
2018-07-06
Advances in Financial Machine Learning
2018-05-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人