smoothnlp项目的python包
SmoothNL的Python项目详细描述
用于smoothnlp的python包装器。
中文、pos、ner、conditional。
github:https://github.com/zhangruinan/SmoothNLP
安装
您需要在系统上安装Python3才能使用smoothnlp
>>> pip3 install smoothnlp
- 安装要求
- Python
- 版本:3.5+
- 套餐经理:PIP
- 软件包:numpy,jpype1>;=0.6.2,请求(自动检查)
- Java
- 版本:1.8
功能
- segment
- postag
- ner
- financial_agency_recognize
- number_recognize
示例
快速启动
>>> import smoothnlp smoothnlp.segment("国泰君安一季度盈利一千万") smoothnlp.set_mode('server') # default server, support local
本地合作