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 0.1.1 to 0.1.2

src/CppJieba/Limonp/InitOnOff.hpp

8

ChangeLog.md

@@ -1,7 +0,9 @@

## v0.1.0
## v0.1.2
依照node的c++扩展的常规写法,对CppJieba进行简单的包装,并已`npm publish`
* 更新[CppJieba],使用`less_memory`这个branch来减少Trie树内存的开销。
## v0.1.1
修改README.md相关使用示例
* 依照node的c++扩展的常规写法,对CppJieba进行简单的包装,并已`npm publish`
[CppJieba]:http://github.com/aszxqw/cppjieba.git
{
"name": "nodejieba",
"description": "chinese segment for node",
"version": "0.1.1",
"version": "0.1.2",
"author": "Yanyi Wu <wuyanyi09@gmail.com>",

@@ -6,0 +6,0 @@ "maintainers": [

@@ -1,2 +0,2 @@

# NodeJieba Jieba中文分词的node版本
# NodeJieba "结巴"中文分词的node版本

@@ -7,2 +7,4 @@ ## 概述

详见[nodejieba_blog]
## 安装和使用

@@ -21,3 +23,3 @@

segment.loadDict(\"./node_modules/nodejieba/dict/jieba.dict.utf8\", \"./node_modules/nodejieba/dict/hmm_model.utf8\");
console.log(segment.cut(\"你好世界\"));" > index.js
console.log(segment.cut(\"南京市长江大桥\"));" > index.js

@@ -31,5 +33,10 @@ node index.js

## 演示
http://cppjieba-webdemo.herokuapp.com/
(chrome is suggested)
## 鸣谢
[jieba中文分词](https://github.com/fxsjy/jieba)
[结巴中文分词](https://github.com/fxsjy/jieba)

@@ -40,3 +47,3 @@ ## 客服

[blog1]:http://aszxqw.github.io/jekyll/update/2014/01/23/nodejs-chu-ti-yan.html
[nodejieba_blog]:http://aszxqw.github.io/jekyll/update/2014/02/22/nodejs-cpp-addon-nodejieba.html
[CppJieba]:https://github.com/aszxqw/cppjieba.git
var segment = require("../index.js");
segment.loadDict("./dict/jieba.dict.utf8", "./dict/hmm_model.utf8");
console.log(segment.cut("你好世界"));
console.log(segment.cut("你好世界"));
console.log(segment.cut("南京市长江大桥"));

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