{"_id":"segmentit","_rev":"3294069","name":"segmentit","description":"Chinese word segmentation 中文分词模块 with browser && electron support","dist-tags":{"latest":"2.0.3"},"maintainers":[{"name":"linonetwo012","email":""}],"time":{"modified":"2024-05-30T03:25:31.000Z","created":"2017-10-28T06:46:39.100Z","2.0.3":"2019-12-22T12:38:56.575Z","2.0.2":"2019-06-05T04:04:04.237Z","2.0.1":"2019-02-08T05:56:48.556Z","2.0.0":"2019-02-08T05:25:49.034Z","1.1.5":"2019-02-08T02:54:52.172Z","1.1.4":"2017-11-08T02:12:59.482Z","1.1.3":"2017-11-07T12:29:23.461Z","1.1.2":"2017-11-07T06:04:52.807Z","1.1.1":"2017-11-05T04:07:23.491Z","1.1.0":"2017-11-04T15:45:42.766Z","1.0.6":"2017-11-02T11:56:54.183Z","1.0.5":"2017-11-02T11:51:50.484Z","1.0.4":"2017-11-02T11:24:32.503Z","1.0.3":"2017-10-30T03:28:41.771Z","1.0.2":"2017-10-28T07:01:18.370Z","1.0.1":"2017-10-28T06:57:52.596Z","1.0.0":"2017-10-28T06:46:39.100Z"},"users":{},"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"versions":{"2.0.3":{"name":"segmentit","main":"dist/cjs","module":"dist/esm/segmentit.js","browser":"dist/umd/segmentit.js","version":"2.0.3","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","browser","nodejs","分词"],"homepage":"https://github.com/linonetwo/segmentit#readme","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"scripts":{"clean":"rimraf dist & rimraf build & rimraf coverage","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"NODE_ENV=production && npm run clean && rollup -c","build:watch":"babel --watch src -d dist"},"authors":["Lei Zongmin <leizongmin@gmail.com>","Linonetwo <linonetwo012@gmail.com> (https://onetwo.ren/)"],"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"browserslist":"> 0.25%, not dead","jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"dependencies":{"preval.macro":"^4.0.0"},"devDependencies":{"@babel/cli":"^7.7.7","@babel/core":"^7.7.7","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-transform-runtime":"^7.7.6","@babel/preset-env":"^7.7.7","@babel/preset-flow":"^7.7.4","babel-eslint":"^10.0.3","babel-jest":"^24.9.0","babel-plugin-macros":"^2.8.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-compat":"^3.3.0","eslint-plugin-flowtype":"~4.5.2","eslint-plugin-import":"^2.19.1","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","flow-bin":"^0.114.0","flow-typed":"^2.6.2","jest":"^24.9.0","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.27.13","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-replace":"^2.2.0","rollup-plugin-uglify":"^6.0.4","should":"^13.2.3","uglify-es":"^3.3.9"},"gitHead":"4f4c27145dde20ed5822b39e7557dd052bca321a","_id":"segmentit@2.0.3","_nodeVersion":"12.3.1","_npmVersion":"6.11.3","dist":{"shasum":"799897667acbc518b27811acdb2a341a79c7973f","size":5385893,"noattachment":false,"key":"/segmentit/-/segmentit-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-2.0.3.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit_2.0.3_1577018336248_0.12031697907432926"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:08:05.717Z","publish_time":1577018336575,"_cnpm_publish_time":1577018336575},"2.0.2":{"name":"segmentit","main":"dist/cjs","module":"dist/esm/segmentit.js","browser":"dist/umd/segmentit.js","version":"2.0.2","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","browser","nodejs","分词"],"homepage":"https://github.com/linonetwo/segmentit#readme","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"scripts":{"clean":"rimraf dist & rimraf build & rimraf coverage","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"NODE_ENV=production && npm run clean && rollup -c","build:watch":"babel --watch src -d dist"},"authors":["Lei Zongmin <leizongmin@gmail.com>","Linonetwo <linonetwo012@gmail.com> (https://onetwo.ren/)"],"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"browserslist":"> 0.25%, not dead","jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"dependencies":{"preval.macro":"^3.0.0"},"devDependencies":{"@babel/cli":"^7.4.4","@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-transform-runtime":"^7.4.4","@babel/preset-env":"^7.4.5","@babel/preset-flow":"^7.0.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-plugin-macros":"^2.6.0","eslint":"^5.16.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^3.1.1","eslint-plugin-flowtype":"~3.9.1","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-promise":"^4.1.1","eslint-plugin-react":"^7.13.0","flow-bin":"^0.100.0","flow-typed":"^2.5.2","jest":"^24.8.0","mocha":"^6.1.4","rimraf":"^2.6.3","rollup":"^1.13.1","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-replace":"^2.2.0","rollup-plugin-uglify":"^6.0.2","should":"^13.2.3","uglify-es":"^3.3.9"},"gitHead":"a96e9386fb1b05b3cfa036580ef0f20409d3738f","_id":"segmentit@2.0.2","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"a4a7a4af9fbdb91df25fcf4e268d725ce8fd54e1","size":5383971,"noattachment":false,"key":"/segmentit/-/segmentit-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-2.0.2.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit_2.0.2_1559707443863_0.45640534556090784"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:07:58.917Z","publish_time":1559707444237,"_cnpm_publish_time":1559707444237},"2.0.1":{"name":"segmentit","main":"dist/cjs","module":"dist/esm/segmentit.js","browser":"dist/umd/segmentit.js","version":"2.0.1","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","browser","nodejs","分词"],"homepage":"https://github.com/linonetwo/segmentit#readme","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"scripts":{"clean":"rimraf dist & rimraf build & rimraf coverage","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"NODE_ENV=production && npm run clean && rollup -c","build:watch":"babel --watch src -d dist"},"authors":["Lei Zongmin <leizongmin@gmail.com>","Linonetwo <linonetwo012@gmail.com> (https://onetwo.ren/)"],"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"browserslist":"> 0.25%, not dead","jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"dependencies":{"preval.macro":"^3.0.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.3.0","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.3.1","@babel/preset-flow":"^7.0.0","babel-eslint":"^10.0.1","babel-jest":"~24.1.0","babel-plugin-macros":"^2.4.5","eslint":"^5.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.7.0","eslint-plugin-flowtype":"~3.2.1","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.12.4","flow-bin":"~0.92.1","flow-typed":"^2.5.1","jest":"~24.1.0","mocha":"5.2.0","rimraf":"^2.6.3","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-uglify":"^6.0.2","should":"13.2.3","uglify-es":"^3.3.9"},"gitHead":"8f705d325eeb9fe85f1fc5f6d885293951bc0935","_id":"segmentit@2.0.1","_npmVersion":"6.2.0","_nodeVersion":"11.7.0","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"40cea79e76156eeec9e8895931197dc3a75f1700","size":5383980,"noattachment":false,"key":"/segmentit/-/segmentit-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-2.0.1.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit_2.0.1_1549605408200_0.38545850547278726"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:07:49.134Z","publish_time":1549605408556,"_cnpm_publish_time":1549605408556},"2.0.0":{"name":"segmentit","main":"dist/cjs","module":"dist/esm/segmentit.js","browser":"dist/umd/segmentit.js","version":"2.0.0","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","browser","nodejs","分词"],"homepage":"https://github.com/linonetwo/segmentit#readme","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"scripts":{"clean":"rimraf dist & rimraf build & rimraf coverage","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"NODE_ENV=production && npm run clean && rollup -c","build:watch":"babel --watch src -d dist"},"authors":["Lei Zongmin <leizongmin@gmail.com>","Linonetwo <linonetwo012@gmail.com> (https://onetwo.ren/)"],"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"engines":{"node":">=6.9"},"browserslist":"> 0.25%, not dead","jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"dependencies":{"preval.macro":"^3.0.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.3.0","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.3.1","@babel/preset-flow":"^7.0.0","babel-eslint":"^10.0.1","babel-jest":"~24.1.0","babel-plugin-macros":"^2.4.5","eslint":"^5.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.7.0","eslint-plugin-flowtype":"~3.2.1","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.12.4","flow-bin":"~0.92.1","flow-typed":"^2.5.1","jest":"~24.1.0","mocha":"5.2.0","rimraf":"^2.6.3","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-uglify":"^6.0.2","should":"13.2.3","uglify-es":"^3.3.9"},"gitHead":"fdfb0bca6e2c8c680f518eceeaec2bc8f91e4fb8","_id":"segmentit@2.0.0","_npmVersion":"6.2.0","_nodeVersion":"11.7.0","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"bd4ba50ff06c2c1fb2bab95bb827e6d334065a7b","size":5383684,"noattachment":false,"key":"/segmentit/-/segmentit-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-2.0.0.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit_2.0.0_1549603548666_0.06951059673511906"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:07:42.046Z","publish_time":1549603549034,"_cnpm_publish_time":1549603549034},"1.1.5":{"name":"segmentit","main":"./dist/index.js","version":"1.1.5","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"engines":{"node":">=6.9"},"browserslist":"> 0.25%, not dead","dependencies":{"babel-runtime":"~6.26.0","flow-typed":"^2.5.1"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.3.0","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.3.1","@babel/preset-flow":"^7.0.0","babel-eslint":"^10.0.1","babel-jest":"~24.1.0","babel-plugin-static-fs":"^1.2.0","eslint":"^5.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.6.3","eslint-plugin-flowtype":"~3.2.1","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.12.4","flow-bin":"~0.92.1","jest":"~24.1.0","mocha":"5.2.0","should":"13.2.3"},"gitHead":"008ea56ea62d2c94c221491081d6193199f21d64","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"homepage":"https://github.com/linonetwo/segmentit#readme","_id":"segmentit@1.1.5","_npmVersion":"6.2.0","_nodeVersion":"11.7.0","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"77b6bdb8274741d72bf6998eb4e9454cb1ba82fc","size":1436054,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.5.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit_1.1.5_1549594491981_0.3417317413266978"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:07:37.613Z","publish_time":1549594492172,"_cnpm_publish_time":1549594492172},"1.1.4":{"name":"segmentit","main":"./dist/index.js","version":"1.1.4","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"996ba66cf0431f5bea0d3410e1fc7132b10b5266","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"homepage":"https://github.com/linonetwo/segmentit#readme","_id":"segmentit@1.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"6445c1734c2e26f7a43215d415fade5a92014414","size":1411182,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.4.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.1.4.tgz_1510107179228_0.4963114089332521"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:34.875Z","publish_time":1510107179482,"_cnpm_publish_time":1510107179482},"1.1.3":{"name":"segmentit","main":"./dist/index.js","version":"1.1.3","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"a613d30b09c9e2aded599249105d9a34ca9bb37a","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"homepage":"https://github.com/linonetwo/segmentit#readme","_id":"segmentit@1.1.3","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"d7b5fba915dced75865e1b19c9caf71335a07aa1","size":1411153,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.3.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.1.3.tgz_1510057763134_0.7530664270743728"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:32.746Z","publish_time":1510057763461,"_cnpm_publish_time":1510057763461},"1.1.2":{"name":"segmentit","main":"./dist/index.js","version":"1.1.2","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/segmentit.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"a613d30b09c9e2aded599249105d9a34ca9bb37a","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"},"homepage":"https://github.com/linonetwo/segmentit#readme","_id":"segmentit@1.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"8b97851ea3e07da8edb5c2177a51b1770e84e3ed","size":1411066,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.2.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.1.2.tgz_1510034692619_0.05012984527274966"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:30.362Z","publish_time":1510034692807,"_cnpm_publish_time":1510034692807},"1.1.1":{"name":"segmentit","main":"./dist/index.js","version":"1.1.1","description":"Chinese word segmentation 中文分词模块 with browser && electron support","keywords":["segment","chinese","POS","mlp","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"97ad0fedacdaed2a290fb8b85c46f75c4fc03b40","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"97d7b93ccbded19e67db710966c29ee1a0b7a280","size":1398867,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.1.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.1.1.tgz_1509854843335_0.2984287329018116"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:27.491Z","publish_time":1509854843491,"_cnpm_publish_time":1509854843491},"1.1.0":{"name":"segmentit","main":"./dist/index.js","version":"1.1.0","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"db38de7d64c992ba18c3fc0f186967662e5dbf0a","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"7aa3e145c3c2d177b976c7e76f0b3889a20cfb38","size":1398741,"noattachment":false,"key":"/segmentit/-/segmentit-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.1.0.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.1.0.tgz_1509810342530_0.56275340099819"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:25.361Z","publish_time":1509810342766,"_cnpm_publish_time":1509810342766},"1.0.6":{"name":"segmentit","main":"./dist/index.js","version":"1.0.6","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"f18db2a3c9707b6779761b067374e521325dc972","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.6","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"dd05b8340bfc58c8b783c59ef48d2365809db0af","size":1396416,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.6.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.6.tgz_1509623814070_0.7633215656969696"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:23.103Z","publish_time":1509623814183,"_cnpm_publish_time":1509623814183},"1.0.5":{"name":"segmentit","main":"./dist/index.js","version":"1.0.5","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","electron","浏览器","nodejs","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"4e6b4a32b4b137148faa993a3d62d9c7040cecde","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.5","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"4dd08e1d5c479f1046125b85f165dad7b40467b0","size":1396411,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.5.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.5.tgz_1509623510237_0.05091334390453994"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:20.208Z","publish_time":1509623510484,"_cnpm_publish_time":1509623510484},"1.0.4":{"name":"segmentit","main":"./dist/index.js","version":"1.0.4","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"bae34e7593d0ff090c5c77052db2a76080d7e468","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.4","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"d9e6034f11980fe6dd078a0106b659de4402f0f4","size":1396169,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.4.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.4.tgz_1509621872044_0.07330850139260292"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:17.234Z","publish_time":1509621872503,"_cnpm_publish_time":1509621872503},"1.0.3":{"name":"segmentit","main":"./dist/index.js","version":"1.0.3","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"watchman":false,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepare":"npm run build","prepublishOnly":"npm run test","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"085d44ceee452132504f49ce78b75b645762d7aa","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"a96ed00268ee791e3946b5032ff9d6a237ae3745","size":1395739,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.3.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.3.tgz_1509334121679_0.9763805037364364"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:14.506Z","publish_time":1509334121771,"_cnpm_publish_time":1509334121771},"1.0.2":{"name":"segmentit","main":"./dist/index.js","version":"1.0.2","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepublish":"npm run test && npm run build","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"ee1ddcebb101cae618d6be337c876a0262cf8c42","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.2","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"05c839ef52e96bc3eeebc78fd4fdf3fd6bbc9111","size":1395069,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.2.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.2.tgz_1509174078217_0.1177079351618886"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:11.829Z","publish_time":1509174078370,"_cnpm_publish_time":1509174078370},"1.0.1":{"name":"segmentit","main":"./dist/index.js","version":"1.0.1","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepublish":"npm run test && npm run build","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"365ca3450929cf5ff5e3d10de61394538140707b","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"5d9da3d825dca1ba1c668882cc9b95c31a2bce8a","size":1395061,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.1.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.1.tgz_1509173872477_0.6320618854369968"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:08.453Z","publish_time":1509173872596,"_cnpm_publish_time":1509173872596},"1.0.0":{"name":"segmentit","main":"./dist/index.js","version":"1.0.0","description":"Chinese word segmentation 中文分词模块","keywords":["segment","chinese","中文","分词"],"jest":{"testEnvironment":"node","moduleFileExtensions":["js"],"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.js"]},"scripts":{"clean":"rm -rf coverage dist tmp","flow-typed":"rimraf flow-typed/npm && flow-typed install --overwrite || true","lint":"eslint .","lintfix":"eslint . --fix","postlint":"npm run typecheck","typecheck":"flow check","test":"npm run test-only","test-only":"jest --coverage","test:watch":"jest --watch","prepublish":"npm run build","build":"babel src -d dist","build:watch":"babel --watch src -d dist"},"author":{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},"contributors":[{"name":"Lei Zongmin","email":"leizongmin@gmail.com"},{"name":"Linonetwo","email":"linonetwo012@gmail.com"}],"repository":{"type":"git","url":"git://github.com/linonetwo/node-segment.git"},"engines":{"node":">=6.9"},"dependencies":{"babel-runtime":"~6.23.0","flow-typed":"^2.2.1"},"devDependencies":{"babel-cli":"~6.24.1","babel-core":"~6.25.0","babel-eslint":"^8.0.1","babel-jest":"~19.0.0","babel-plugin-static-fs":"^1.1.0","babel-plugin-transform-async-to-generator":"~6.24.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"~6.24.1","babel-plugin-transform-flow-strip-types":"~6.22.0","babel-plugin-transform-runtime":"~6.23.0","babel-preset-stage-3":"~6.24.1","eslint":"^4.9.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-compat":"^2.0.1","eslint-plugin-flowtype":"~2.31.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-promise":"^3.6.0","eslint-plugin-react":"^7.4.0","flow-bin":"~0.44.2","jest":"~19.0.2","mocha":">= 1.2","should":"*"},"gitHead":"0f891b878cc051979ea27a6700b813f3aaebe224","bugs":{"url":"https://github.com/linonetwo/node-segment/issues"},"homepage":"https://github.com/linonetwo/node-segment#readme","_id":"segmentit@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"linonetwo012","email":"linonetwo012@gmail.com"},"dist":{"shasum":"9ee54a039f810a0d017eaa89e8351065b9e0cd8f","size":1397448,"noattachment":false,"key":"/segmentit/-/segmentit-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/segmentit/download/segmentit-1.0.0.tgz"},"maintainers":[{"name":"linonetwo012","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/segmentit-1.0.0.tgz_1509173198026_0.19122978416271508"},"directories":{},"_cnpmcore_publish_time":"2021-12-24T12:07:05.323Z","publish_time":1509173199100,"_cnpm_publish_time":1509173199100}},"readme":"<p>\n<a href='https://badge.fury.io/js/segmentit' style='margin: 0 0.5rem;'>\n<img src='https://badge.fury.io/js/segmentit.svg' alt='npm version' height='18'/>\n</a>\n\n<a href='https://coveralls.io/github/linonetwo/segmentit?branch=master' style='margin: 0 0.5rem;'>\n<img src='https://coveralls.io/repos/github/linonetwo/segmentit/badge.svg?branch=master' alt='Coverage Status' height='18'/>\n</a>\n\n<a href='https://travis-ci.org/linonetwo/segmentit#' style='margin: 0 0.5rem;'>\n<img src='https://api.travis-ci.org/linonetwo/segmentit.svg?branch=master' alt='CI Status' height='18'/>\n</a>\n\n<a href='https://img.shields.io/bundlephobia/minzip/segmentit.svg' style='margin: 0 0.5rem;'>\n<img src='https://img.shields.io/bundlephobia/minzip/segmentit.svg' alt='Min Zip Size' height='18'/>\n</a>\n<p>\n\n# 中文分词模块\n\n本模块基于 [node-segment](https://github.com/leizongmin/node-segment) 魔改，增加了 electron、浏览器支持，并准备针对 electron 多线程运行环境进行优化。\n\n之所以要花时间魔改，是因为 `segment` 和 `nodejieba` 虽然在 node 环境下很好用，但根本无法在浏览器和 electron 环境下运行。我把代码重构为 ES2015，并用 babel 插件内联了字典文件，全部载入的话大小是 3.8M，但如果有些字典你并不需要，字典和模块是支持 tree shaking 的（请使用 ESM 模块）。\n\n## Usage\n\n```javascript\nimport { Segment, useDefault } from 'segmentit';\n\nconst segmentit = useDefault(new Segment());\nconst result = segmentit.doSegment('工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作。');\nconsole.log(result);\n```\n\n对于 runkit 环境：\n\n```javascript\nconst { Segment, useDefault } = require('segmentit');\nconst segmentit = useDefault(new Segment());\nconst result = segmentit.doSegment('工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作。');\nconsole.log(result);\n```\n\n[在 Runkit 上免费试用](https://npm.runkit.com/segmentit)\n\n## 获取词类标注\n\n结巴分词风格的词类标注：\n\n```javascript\n// import Segment, { useDefault, cnPOSTag, enPOSTag } from 'segmentit';\nconst  = require('segmentit').default;\nconst { Segment, useDefault, cnPOSTag, enPOSTag } = require('segmentit');\n\nconst segmentit = useDefault(new Segment());\n\nconsole.log(segmentit.doSegment('一人得道，鸡犬升天').map(i => `${i.w} <${cnPOSTag(i.p)}> <${enPOSTag(i.p)}>`))\n// ↑ [\"一人得道 <习语,数词 数语素> <l,m>\", \"， <标点符号> <w>\", \"鸡犬升天 <成语> <i>\"]\n```\n\n## 只使用部分词典或使用自定义词典\n\nuseDefault 的具体实现是这样的：\n\n```javascript\n// useDefault\nimport { Segment, modules, dicts, synonyms, stopwords } from 'segmentit';\n\nconst segmentit = new Segment();\nsegmentit.use(modules);\nsegmentit.loadDict(dicts);\nsegmentit.loadSynonymDict(synonyms);\nsegmentit.loadStopwordDict(stopwords);\n```\n\n因此你实际上可以 import 所需的那部分字典和模块，然后一个个如下载入。没有 import 的那些字典和模块应该会被 webpack 的 tree shaking 去掉。你也可以这样载入自己定义的字典文件，只需要主要 loadDict 的函数签名是 `(dicts: string | string[]): Segment`。\n\n```javascript\n// load custom module and dicts\nimport {\n  Segment,\n  ChsNameTokenizer,\n  DictOptimizer,\n  EmailOptimizer,\n  PunctuationTokenizer,\n  URLTokenizer,\n  ChsNameOptimizer,\n  DatetimeOptimizer,\n  DictTokenizer,\n  ForeignTokenizer,\n  SingleTokenizer,\n  WildcardTokenizer,\n  pangu,\n  panguExtend1,\n  panguExtend2,\n  names,\n  wildcard,\n  synonym,\n  stopword,\n} from 'segmentit';\n\nconst segmentit = new Segment();\n\n// load them one by one, or by array\nsegmentit.use(ChsNameTokenizer);\nsegmentit.loadDict(pangu);\nsegmentit.loadDict([panguExtend1, panguExtend2]);\nsegmentit.loadSynonymDict(synonym);\nsegmentit.loadStopwordDict(stopword);\n```\n\n盘古的词典比较复古了，像「软萌萝莉」这种词都是没有的，请有能力的朋友 PR 一下自己的词库。\n\n## 创造自己的分词中间件（Tokenizer）和结果优化器（Optimizer）\n\n### Tokenizer\n\nTokenizer 是分词时要经过的一个个中间件，类似于 Redux 的 MiddleWare，它的 split 函数接受分词分到一半的 token 数组，返回一个同样格式的 token 数组（这也就是不要对太长的文本分词的原因，不然这个数组会巨爆大）。\n\n例子如下：\n\n```javascript\n// @flow\nimport { Tokenizer } from 'segmentit';\nimport type { SegmentToken, TokenStartPosition } from 'segmentit';\nexport default class ChsNameTokenizer extends Tokenizer {\n  split(words: Array<SegmentToken>): Array<SegmentToken> {\n    // 可以获取到 this.segment 里的各种信息\n    const POSTAG = this.segment.POSTAG;\n    const TABLE = this.segment.getDict('TABLE');\n    // ...\n  }\n```\n\n### Optimizer\n\nOptimizer 是在分词结束后，发现有些难以利用字典处理的情况，却可以用启发式规则处理时，可以放这些启发式规则的地方，它的 doOptimize 函数同样接收一个 token 数组，返回一个同样格式的 token 数组。\n\n除了 token 数组以外，你还可以自定义余下的参数，比如在下面的例子里，我们会递归调用自己一次，通过第二个参数判断递归深度：\n\n```javascript\n// @flow\nimport { Optimizer } from './BaseModule';\nimport type { SegmentToken } from './type';\nexport default class DictOptimizer extends Optimizer {\n  doOptimize(words: Array<SegmentToken>, isNotFirst: boolean): Array<SegmentToken> {\n    // 可以获取到 this.segment 里的各种信息\n    const POSTAG = this.segment.POSTAG;\n    const TABLE = this.segment.getDict('TABLE');\n    // ...\n    // 针对组合数字后无法识别新组合的数字问题，需要重新扫描一次\n    return isNotFirst === true ? words : this.doOptimize(words, true);\n  }\n```\n\n例如目前各种分词工具都没法把「一条红色内裤」中的红色标对词性，但在 segmentit 里我加了个简单的 AdjectiveOptimizer 来处理它：\n\n```javascript\n// @flow\n// https://github.com/linonetwo/segmentit/blob/master/src/module/AdjectiveOptimizer.js\nimport { Optimizer } from './BaseModule';\nimport type { SegmentToken } from './type';\n\nimport { colors } from './COLORS';\n\n// 把一些错认为名词的词标注为形容词，或者对名词作定语的情况\nexport default class AdjectiveOptimizer extends Optimizer {\n  doOptimize(words: Array<SegmentToken>): Array<SegmentToken> {\n    const { POSTAG } = this.segment;\n    let index = 0;\n    while (index < words.length) {\n      const word = words[index];\n      const nextword = words[index + 1];\n      if (nextword) {\n        // 对于<颜色>+<的>，直接判断颜色是形容词（字典里颜色都是名词）\n        if (nextword.p === POSTAG.D_U && colors.includes(word.w)) {\n          word.p = POSTAG.D_A;\n        }\n        // 如果是连续的两个名词，前一个是颜色，那这个颜色也是形容词\n        if (word.p === POSTAG.D_N && nextword.p === POSTAG.D_N && colors.includes(word.w)) {\n          word.p = POSTAG.D_A;\n        }\n      }\n      // 移到下一个单词\n      index += 1;\n    }\n    return words;\n  }\n}\n```\n\n## License\n\nMIT LICENSED\n","_attachments":{},"homepage":"https://github.com/linonetwo/segmentit#readme","bugs":{"url":"https://github.com/linonetwo/segmentit/issues"}}