baidu-segmentation
基于百度apistore的中文分词系统
Last updated 3 years ago by xialeistdudio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install baidu-segmentation 
SYNC missed versions from official npm registry.

baidu-segmentation

基于百度apistore的中文分词系统

使用

npm install baidu-segmantation

方法

  • setApiKey(apiKey) 设置ApiKey
  • match(string,param1,param2)
    • string 待分词字符串
    • param1 分词出现最低概率
    • param2 是否显示概率

测试

npm run test

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |