Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejieba

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejieba - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

lib/CppJieba/LevelSegment.hpp

5

ChangeLog.md
# NodeJieba ChangeLog
## v1.4.0
* 对MP算法的分词方式新增一个粒度参数,解决[issue29]关于细粒度分词的问题。
## v1.3.0

@@ -127,1 +131,2 @@

[issue36]:https://github.com/yanyiwu/nodejieba/issues/36
[issue29]:https://github.com/yanyiwu/nodejieba/issues/29

4

package.json
{
"name": "nodejieba",
"description": "chinese word segmentation for node",
"version": "1.3.0",
"version": "1.4.0",
"author": "Yanyi Wu <i@yanyiwu.com>",

@@ -32,5 +32,5 @@ "maintainers": [

"scripts": {
"test": "node test/demo.js && node test/load_dict_demo.js && mocha -R spec test/test.js && mocha -R spec test/load_dict_test.js"
"test": "node test/demo.js && node test/load_dict_demo.js && mocha --timeout 10s -R spec test/test.js && mocha --timeout 10s -R spec test/load_dict_test.js"
},
"license": "MIT"
}

@@ -39,1 +39,4 @@ var nodejieba = require("../index.js");

console.log(result);
result = nodejieba.cut("南京市长江大桥", "MP", 3);
console.log(result);

@@ -269,2 +269,5 @@ var should = require("should");

it('nodejieba.cut("南京市长江大桥")', function() {
nodejieba.cut("南京市长江大桥", "MP", 3).should.eql([ '南京市', '长江', '大桥' ]);
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc