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

本地合作

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Spring 4升级后未加载java应用程序上下文   java Android 2.3.3 internet可以在我的Galaxy S上运行,但不能在我的Galaxy选项卡上运行?(许可?)   java通过不改变其原始位置对大小写字母进行排序   java Spring Boot一直在破坏我的电脑。。。sts的最佳配置是什么。Windows 10上的ini文件?   css Java Spring+引导问题   java Jackson将GeoJsonPoint序列化为纬度/经度   xml Java Transformer:如何将其结果生成OutputStream?   java如何更改字体、文本大小和设置文本位置?   在JavaSpringHibernate3.6.3中,如何告诉一个方法等待,直到获得锁,以及如何重试失败的事务?   java安卓服务代替线程   Java Swing使用鼠标移动JFrame