Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

baidu-segmentation

1.0.0 • Public • Published

baidu-segmentation

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

使用

npm install baidu-segmantation

方法

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

测试

npm run test

Install

npm i baidu-segmentation

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar