Comparing version 2.2.1 to 2.2.2
# NodeJieba ChangeLog | ||
## v2.2.2 | ||
+ upgrade cppjieba -> v4.8.1 | ||
+ (word freq tag) format in user dict has been supported. | ||
## v2.2.1 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "nodejieba", | ||
"description": "chinese word segmentation for node", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"author": "Yanyi Wu <i@yanyiwu.com>", | ||
@@ -6,0 +6,0 @@ "maintainers": [ |
@@ -295,2 +295,9 @@ var should = require("should"); | ||
}); | ||
it('nodejieba.cut("区块链")', function() { | ||
nodejieba.cut("区块链").should.eql(['区块链']); | ||
}); | ||
it('nodejieba.tag("区块链")', function() { | ||
nodejieba.tag("区块链").should.eql([ { word: '区块链', tag: 'nz' }]); | ||
}); | ||
}); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11738092
57
372