-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "segment-dict",
"version": "2.3.206",
"description": "novel-segment segment data",
"keywords": [
"NLP",
"PanGuSegment",
"PoS tagging",
"analyzer",
"async",
"chinese",
"chinese segmentation",
"data",
"dict",
"dictionary",
"file",
"hanzi",
"jieba",
"load",
"loader",
"machine learning",
"morphological analysis",
"natural language processing",
"node-novel",
"novel",
"novel-segment",
"node-segment",
"opencc",
"optimizer",
"pangu",
"phrases",
"segment",
"segmentalization",
"segmentation",
"segmenter",
"split",
"stopword",
"stream",
"sync",
"synonym",
"text mining",
"tokenizer",
"variant",
"word",
"word segmentation",
"中文",
"中文分詞",
"中文分词",
"分詞",
"分词",
"盘古分词",
"盤古分詞"
],
"homepage": "https://github.com/bluelovers/ws-segment/tree/master/packages/segment-dict#readme",
"bugs": {
"url": "https://github.com/bluelovers/ws-segment/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluelovers/ws-segment.git",
"directory": "packages/segment-dict"
},
"license": "ISC",
"author": "bluelovers",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"coverage": "yarn run test -- --coverage",
"test": "yarn run test:jest && yarn run test:segment",
"test:jest": "jest",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:segment": "yarn workspace novel-segment run test",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"preversion": "yarn run test && yarn run sort:all",
"version": "git commit -m \"chore(dict): save dict before new version\" ./dict ./test/sort.ts & echo version",
"prepublishOnly": "echo prepublishOnly",
"postpublish": "yarn run postpublishOnly:add",
"postpublish2": "npx lerna run --stream --scope novel-segment postpublish2 && npx lerna run --scope @novel-segment/api-server now-deploy",
"postpublish:after": "node ./script/publish-after",
"postpublish:done": "yarn run postpublish:after",
"postpublishOnly:add": "npx yarn-tool root run postpublishOnly:add segment-dict novel-segment @novel-segment/api-server",
"ncu": "yarn-tool ncu -u",
"sort:all": "yarn run sort:all:before && yarn run sort:list:synonym & yarn run sort:dict:synonym & yarn run sort:line",
"sort:all:before": "git commit -m \"chore(dict): save dict before sort:all\" ./dict & echo \"sort:all:before\"",
"sort:dict:synonym": "tsx ./script/sort.dict_synonym.ts",
"sort:line": "tsx ./script/sort-line.ts",
"sort:list:synonym": "tsx ./script/sort_list_synonym.ts",
"sort-package-json": "yarn-tool sort",
"task:do-split": "yarn run task:do-split:commit && ts-node ./test/sort.ts",
"task:do-split:commit": "git commit -m \"chore(dict): save dict before split\" ./dict & echo \"save dict\""
},
"dependencies": {
"@bluelovers/fast-glob": "^3.0.4",
"@novel-segment/dict-loader-core": "^1.0.31",
"@novel-segment/loader-stopword": "^1.0.31",
"@novel-segment/loaders": "^1.0.53",
"@novel-segment/stream-loader-core": "^1.0.30",
"@novel-segment/util": "^1.0.77",
"bluebird": "^3.7.2",
"core-decorators": "^0.20.0",
"crlf-normalize": "^1.0.20",
"tslib": ">=2"
},
"peerDependencies": {
"novel-segment": "^2.7.116"
},
"gitHead": "b53ee34cb7a1abaf060f872ed0030effdc50e1ec"
}