del: 删除无用的文件

This commit is contained in:
theajack 2020-12-17 22:38:08 +08:00
parent 981f1a4599
commit 50988e8e5c
15 changed files with 24 additions and 3931 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ node_modules
nodejs
src_import_version
# package-lock.json
vuepress/.vuepress/secret.js
vuepress/.vuepress/secret.js
helper/local

View File

@ -16,7 +16,7 @@ function main () {
}
function addMta () {
let mta = /* html*/`<script>
const mta = /* html*/`<script>
var _mtac = {};
(function () {
var mta = document.createElement("script");

View File

@ -1,31 +0,0 @@
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
vuepress build vuepress
node ./helper/build-docs.js
# 进入生成的文件夹
# cd docs/.vuepress/dist
# 如果是发布到自定义域名
# echo 'www.example.com' > CNAME
# git init
# git add -A
# git commit -m 'deploy'
# 如果发布到 https://<USERNAME>.github.io
# git push -f git@github.com:1011cat/1011cat.github.io.git master
# 如果发布到 https://<USERNAME>.github.io/<REPO>
# git push -f git@github.com:<USERNAME>/<REPO>.git master:gh-pages
# cd -
# bash a.sh
# vuepress build docs && npm run build:config

View File

@ -1,23 +0,0 @@
const dict = require('../src/main/spell-dict-jian.json');
const {isCnChar} = require('../src/main/tool');
const tool = require('./tool');
const polyArr = []; ;
const words = [];
for (const k in dict) {
for (let i = 0; i < dict[k].length; i++) {
const word = dict[k][i];
if (isCnChar(word)) {
if (words.indexOf(word) === -1) {
words.push(word);
} else {
if (polyArr.indexOf(word) === -1) {
polyArr.push(word);
}
}
}
}
}
tool.write('helper/polyword.txt', polyArr.join(''));

View File

@ -5,4 +5,15 @@
### npm run test
1. npm run test:npm: 需要先build之后测试 npm 包
2. npm run test直接测试 ts 源代码,需要 npm install -g typescript 全局安装ts
2. npm run test直接测试 ts 源代码,需要 npm install -g typescript 全局安装ts
### 分支
1. master 作为开发分支
2. gh-pages 分支作为 github pages发布分支
3. gitee-pages 分支作为 gitee pages发布分支
gh-pages 分支中的 vuepress/.vuepress/config.js 文件中 base需要设置为 /
gitee-pages 分支中的 vuepress/.vuepress/config.js 文件中 base需要设置为 /cnchar/
naster 开发完成推送之后 创建一个新的版本号分支
dev:docs 完成之后 分别合到gh-pages和gitee-pages分支进行build:docs

View File

@ -1,27 +0,0 @@
const dict = require('../../src/plugin/idiom/idiom.json');
const cnchar = require('../../src/plugin/all/index');
const fs = require('fs');
let last = '';
let lastNoTone = '';
let spellDict = [], spellDictNoTone = [];
dict.forEach((d, index) => {
let spell = cnchar.spell(d[0], 'tone', 'low');
let spellNoTone = cnchar._.removeTone(spell).spell;
if (last !== spell) {
spellDict.push(spell + ':' + index);
}
if (lastNoTone !== spellNoTone) {
spellDictNoTone.push(spellNoTone + ':' + index);
}
last = spell;
lastNoTone = spellNoTone;
});
fs.writeFileSync('./helper/idiom/spell.json', JSON.stringify(spellDict, null, 4), 'utf8');
fs.writeFileSync('./helper/idiom/spell.notone.json', JSON.stringify(spellDictNoTone, null, 4), 'utf8');

File diff suppressed because it is too large Load Diff

View File

@ -1,598 +0,0 @@
[
"a:0",
"ai:21",
"an:103",
"ang:245",
"ao:261",
"ba:305",
"pa:351",
"ba:353",
"bai:420",
"bo:697",
"bai:699",
"ban:728",
"bang:810",
"bao:828",
"po:938",
"bei:939",
"pi:1051",
"ben:1064",
"beng:1087",
"bi:1090",
"bian:1330",
"biao:1395",
"bie:1421",
"bin:1466",
"bing:1478",
"bo:1607",
"bu:1703",
"bo:1706",
"bu:1708",
"ca:2338",
"cai:2342",
"can:2431",
"cang:2515",
"cao:2556",
"ze:2604",
"si:2606",
"ce:2608",
"cen:2615",
"ceng:2616",
"cha:2625",
"chai:2653",
"zhai:2660",
"chai:2667",
"chan:2677",
"shan:2681",
"chan:2683",
"chang:2705",
"chao:2812",
"che:2923",
"tian:2956",
"chen:2958",
"chuang:3024",
"cheng:3026",
"chen:3043",
"cheng:3055",
"sheng:3134",
"cheng:3172",
"chi:3210",
"che:3298",
"chi:3326",
"chong:3381",
"hui:3404",
"chong:3407",
"chou:3420",
"chu:3481",
"chuai:3703",
"chuan:3710",
"chuang:3753",
"chui:3775",
"chun:3847",
"chuo:3926",
"chao:3932",
"chuo:3936",
"ci:3937",
"cong:4004",
"cu:4051",
"cuan:4070",
"cui:4076",
"cun:4101",
"cuo:4159",
"zuo:4161",
"cuo:4166",
"da:4183",
"dai:4447",
"dan:4501",
"da:4605",
"dan:4606",
"dang:4621",
"dao:4675",
"de:4824",
"deng:4898",
"di:4936",
"dian:5047",
"tian:5106",
"dian:5107",
"diao:5109",
"die:5201",
"zha:5215",
"die:5216",
"ding:5223",
"diu:5268",
"dong:5280",
"dou:5508",
"du:5560",
"dou:5567",
"du:5575",
"duan:5703",
"dui:5780",
"tun:5808",
"dun:5809",
"duo:5854",
"hui:5922",
"e:5925",
"yi:5936",
"e:5938",
"wu:5953",
"e:5984",
"en:6003",
"er:6024",
"fa:6092",
"fan:6160",
"fang:6309",
"fei:6405",
"fen:6535",
"feng:6689",
"fu:7048",
"pi:7059",
"fu:7066",
"fei:7124",
"fu:7126",
"gai:7410",
"ge:7463",
"gai:7471",
"gan:7473",
"gang:7574",
"gao:7591",
"ge:7750",
"ji:7773",
"ge:7794",
"gen:7857",
"geng:7886",
"bing:7910",
"geng:7912",
"gong:7919",
"gou:8041",
"gu:8116",
"hu:8177",
"gu:8179",
"yu:8194",
"gu:8197",
"he:8219",
"gu:8224",
"gua:8301",
"gu:8326",
"gua:8328",
"guai:8350",
"guan:8362",
"guang:8451",
"kui:8488",
"gui:8509",
"qiu:8512",
"gui:8526",
"gun:8635",
"guo:8638",
"hai:8698",
"he:8748",
"han:8750",
"hang:8874",
"hao:8876",
"he:8981",
"ge:8988",
"he:8999",
"hei:9119",
"hen:9137",
"heng:9145",
"hong:9220",
"gong:9235",
"hong:9252",
"hou:9315",
"hu:9361",
"hua:9518",
"huai:9652",
"huan:9687",
"hai:9701",
"huan:9717",
"huang:9748",
"hui:9842",
"hun:9982",
"huo:10075",
"ji:10173",
"qi:10357",
"ji:10360",
"qi:10426",
"ji:10427",
"jia:10665",
"jie:10690",
"xia:10747",
"jia:10748",
"jie:10764",
"jia:10768",
"xia:10780",
"jia:10802",
"gan:10809",
"jian:10812",
"xian:11043",
"jian:11045",
"kan:11053",
"jian:11054",
"jiang:11058",
"qiang:11089",
"jiang:11122",
"xiang:11138",
"jiao:11151",
"jue:11212",
"jiao:11216",
"jue:11251",
"jiao:11258",
"jie:11276",
"ji:11431",
"jin:11432",
"gong:11452",
"jin:11455",
"jing:11781",
"jiong:12011",
"jiu:12016",
"ju:12186",
"gou:12286",
"ju:12289",
"juan:12322",
"jue:12359",
"jiao:12405",
"jue:12406",
"jun:12422",
"kai:12447",
"kan:12502",
"kang:12528",
"kao:12553",
"ke:12559",
"ken:12637",
"keng:12639",
"kong:12647",
"kou:12679",
"ku:12749",
"gu:12792",
"kua:12812",
"kuai:12825",
"kuan:12840",
"kuang:12858",
"kui:12910",
"kun:12933",
"kuo:12944",
"la:12948",
"xi:12958",
"lai:12959",
"la:12986",
"lan:12987",
"lang:13022",
"lao:13089",
"liao:13156",
"le:13157",
"lei:13205",
"leng:13253",
"li:13278",
"lian:13494",
"liang:13610",
"liao:13689",
"le:13715",
"liao:13725",
"lie:13730",
"lin:13756",
"ling:13828",
"liu:13888",
"long:14020",
"lou:14152",
"lu:14186",
"liu:14223",
"lu:14227",
"liu:14235",
"lu:14240",
"lü:14259",
"shuai:14298",
"lu:14309",
"luan:14330",
"lüe:14378",
"lun:14394",
"lü:14422",
"luo:14424",
"lao:14437",
"luo:14438",
"la:14442",
"ma:14467",
"mai:14533",
"mo:14601",
"man:14603",
"wan:14687",
"mang:14690",
"mao:14724",
"mo:14753",
"mao:14757",
"mei:14768",
"men:14845",
"meng:14878",
"mi:14904",
"mei:14939",
"mi:14940",
"bi:14964",
"mi:14967",
"mian:14973",
"wen:14988",
"min:14990",
"mian:14991",
"miao:15053",
"mie:15089",
"min:15097",
"ming:15131",
"miu:15308",
"mou:15315",
"mo:15316",
"ma:15366",
"mo:15370",
"mou:15417",
"mu:15433",
"na:15580",
"nai:15619",
"nan:15625",
"na:15640",
"nan:15671",
"nang:15696",
"nu:15706",
"nao:15707",
"ne:15714",
"ni:15716",
"neng:15717",
"ni:15737",
"nian:15787",
"nie:15831",
"nian:15834",
"niao:15837",
"nie:15870",
"ning:15900",
"niu:15914",
"nong:15958",
"nu:15994",
"nü:16019",
"nüe:16032",
"nuan:16033",
"nuo:16034",
"ou:16038",
"pa:16053",
"pai:16064",
"pan:16082",
"pang:16125",
"pao:16157",
"pei:16175",
"pen:16182",
"peng:16188",
"pi:16222",
"bi:16311",
"pi:16312",
"pian:16313",
"piao:16366",
"pie:16390",
"pin:16391",
"ping:16427",
"po:16488",
"pou:16567",
"pu:16583",
"po:16606",
"pu:16610",
"bao:16621",
"qi:16624",
"qia:16996",
"qian:17002",
"qiang:17325",
"qiao:17384",
"shao:17455",
"qie:17456",
"qing:17492",
"qin:17506",
"qing:17557",
"qiong:17818",
"qiu:17874",
"ou:17939",
"qu:17943",
"juan:18027",
"quan:18028",
"que:18094",
"qiao:18105",
"que:18112",
"jue:18117",
"que:18118",
"qun:18129",
"ran:18148",
"rang:18167",
"rao:18182",
"re:18186",
"ren:18210",
"reng:18448",
"ri:18449",
"rong:18582",
"rou:18608",
"ru:18646",
"ruan:18818",
"rui:18828",
"run:18836",
"re:18837",
"ruo:18862",
"sa:18868",
"sai:18882",
"san:18893",
"sang:19089",
"sao:19128",
"se:19155",
"sen:19170",
"seng:19172",
"sha:19173",
"shai:19218",
"shan:19219",
"shang:19335",
"shao:19415",
"she:19442",
"yi:19451",
"she:19460",
"shen:19499",
"sheng:19780",
"shi:19906",
"shen:20054",
"shi:20059",
"shou:20473",
"shu:20583",
"shua:20768",
"shuai:20770",
"shuan:20771",
"shuang:20772",
"shui:20795",
"shun:20879",
"shuo:20923",
"si:20970",
"ci:21111",
"shi:21115",
"si:21125",
"qi:21136",
"si:21137",
"song:21143",
"sou:21184",
"su:21194",
"suan:21236",
"sui:21240",
"sun:21333",
"suo:21348",
"su:21349",
"suo:21356",
"ta:21374",
"dai:21384",
"tai:21385",
"tan:21413",
"shang:21510",
"tang:21514",
"chang:21536",
"tang:21537",
"tao:21538",
"te:21610",
"teng:21612",
"ti:21619",
"di:21633",
"ti:21640",
"tian:21677",
"mian:21888",
"tiao:21890",
"tie:21922",
"ting:21961",
"ding:21984",
"tong:21986",
"tou:22195",
"tu:22292",
"tuan:22371",
"tui:22380",
"tun:22428",
"tuo:22452",
"wa:22495",
"wai:22511",
"wan:22533",
"wang:22662",
"wei:22814",
"yi:22964",
"wei:22968",
"wen:23028",
"weng:23176",
"wo:23185",
"wu:23226",
"xi:23747",
"xia:23921",
"xian:23992",
"qian:24039",
"xian:24044",
"xiang:24147",
"xiao:24277",
"xie:24422",
"ye:24428",
"xie:24439",
"xin:24477",
"xing:24720",
"xiong:24882",
"xiu:24946",
"xu:25002",
"shi:25033",
"xu:25035",
"chu:25042",
"xu:25043",
"xuan:25052",
"huan:25143",
"xue:25146",
"xie:25195",
"xue:25217",
"xun:25220",
"ya:25285",
"ye:25326",
"yan:25328",
"ya:25598",
"yan:25601",
"yang:25677",
"yao:25798",
"ye:25901",
"yi:25946",
"qi:26707",
"yi:26708",
"yin:27307",
"ying:27501",
"yong:27649",
"you:27720",
"yu:27981",
"yuan:28367",
"yao:28489",
"yue:28491",
"yun:28548",
"za:28688",
"zai:28696",
"zan:28736",
"cuan:28738",
"zan:28744",
"zang:28749",
"cang:28759",
"zang:28762",
"zao:28764",
"ze:28829",
"zei:28848",
"zen:28862",
"ceng:28863",
"zeng:28869",
"zha:28873",
"zhai:28882",
"zhan:28895",
"nian:28906",
"zhan:28908",
"nian:28933",
"zhan:28934",
"zhang:28950",
"zhao:29008",
"zhe:29047",
"zhen:29084",
"zheng:29190",
"zhi:29300",
"zi:29321",
"zhi:29322",
"zhong:29668",
"zhou:29877",
"yu:29890",
"zhou:29892",
"zhu:29918",
"shu:30058",
"zhu:30063",
"chu:30069",
"zhu:30078",
"zhe:30097",
"zhu:30101",
"zhua:30113",
"ye:30120",
"zhuan:30127",
"zhuang:30158",
"zhui:30190",
"chui:30222",
"zhui:30241",
"zhun:30248",
"zhuo:30254",
"zhe:30306",
"zhuo:30310",
"zi:30316",
"ci:30325",
"zi:30326",
"zong:30475",
"zou:30494",
"zu:30515",
"zuan:30545",
"zui:30567",
"zun:30601",
"zuo:30622"
]

View File

@ -1,49 +0,0 @@
const spellDict = require('./spell.json');
const cnchar = require('../../src/plugin/all/index');
const spellDictNoTone = require('./spell.notone.json');
const fs = require('fs');
let spellDictArr = spellDict.map(spell => {
let arr = spell.split(':');
arr[0] = cnchar._.removeTone(arr[0]).spell;
return [arr[0], arr[1]];
});
let uselessIndexes = [];
for (let i = 1; i < spellDictArr.length - 1; i++) {
let prevSpell = spellDictArr[i - 1][0][0];
let nextSpell = spellDictArr[i + 1][0][0];
let spell = spellDictArr[i + 1][0][0];
if (prevSpell === nextSpell && prevSpell !== spell) {
uselessIndexes.push(i);
}
}
let spellDictArrNoTone = spellDictNoTone.map(spell => {
return spell.split(':');
});
let uselessIndexesNoTone = [];
for (let i = 1; i < spellDictArrNoTone.length - 1; i++) {
let prevSpell = spellDictArrNoTone[i - 1][0][0];
let nextSpell = spellDictArrNoTone[i + 1][0][0];
let spell = spellDictArrNoTone[i + 1][0][0];
if (prevSpell === nextSpell && prevSpell !== spell) {
uselessIndexesNoTone.push(i);
}
}
for (let i = uselessIndexes.length - 1; i >= 0; i--) {
spellDict.splice(uselessIndexes[i], 1);
}
for (let i = uselessIndexesNoTone.length - 1; i >= 0; i--) {
spellDictNoTone.splice(uselessIndexesNoTone[i], 1);
}
fs.writeFileSync('./helper/idiom/spell2.json', JSON.stringify(spellDict, null, 4), 'utf8');
fs.writeFileSync('./helper/idiom/spell2.notone.json', JSON.stringify(spellDictNoTone, null, 4), 'utf8');
fs.writeFileSync('./helper/idiom/spell2.min.json', JSON.stringify(spellDict), 'utf8');
fs.writeFileSync('./helper/idiom/spell2.min.notone.json', JSON.stringify(spellDictNoTone), 'utf8');

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,598 +0,0 @@
[
"a:0",
"ai:21",
"an:103",
"ang:245",
"ao:261",
"ba:305",
"pa:351",
"ba:353",
"bai:420",
"bo:697",
"bai:699",
"ban:728",
"bang:810",
"bao:828",
"po:938",
"bei:939",
"pi:1051",
"ben:1064",
"beng:1087",
"bi:1090",
"bian:1330",
"biao:1395",
"bie:1421",
"bin:1466",
"bing:1478",
"bo:1607",
"bu:1703",
"bo:1706",
"bu:1708",
"ca:2338",
"cai:2342",
"can:2431",
"cang:2515",
"cao:2556",
"ze:2604",
"si:2606",
"ce:2608",
"cen:2615",
"ceng:2616",
"cha:2625",
"chai:2653",
"zhai:2660",
"chai:2667",
"chan:2677",
"shan:2681",
"chan:2683",
"chang:2705",
"chao:2812",
"che:2923",
"tian:2956",
"chen:2958",
"chuang:3024",
"cheng:3026",
"chen:3043",
"cheng:3055",
"sheng:3134",
"cheng:3172",
"chi:3210",
"che:3298",
"chi:3326",
"chong:3381",
"hui:3404",
"chong:3407",
"chou:3420",
"chu:3481",
"chuai:3703",
"chuan:3710",
"chuang:3753",
"chui:3775",
"chun:3847",
"chuo:3926",
"chao:3932",
"chuo:3936",
"ci:3937",
"cong:4004",
"cu:4051",
"cuan:4070",
"cui:4076",
"cun:4101",
"cuo:4159",
"zuo:4161",
"cuo:4166",
"da:4183",
"dai:4447",
"dan:4501",
"da:4605",
"dan:4606",
"dang:4621",
"dao:4675",
"de:4824",
"deng:4898",
"di:4936",
"dian:5047",
"tian:5106",
"dian:5107",
"diao:5109",
"die:5201",
"zha:5215",
"die:5216",
"ding:5223",
"diu:5268",
"dong:5280",
"dou:5508",
"du:5560",
"dou:5567",
"du:5575",
"duan:5703",
"dui:5780",
"tun:5808",
"dun:5809",
"duo:5854",
"hui:5922",
"e:5925",
"yi:5936",
"e:5938",
"wu:5953",
"e:5984",
"en:6003",
"er:6024",
"fa:6092",
"fan:6160",
"fang:6309",
"fei:6405",
"fen:6535",
"feng:6689",
"fu:7048",
"pi:7059",
"fu:7066",
"fei:7124",
"fu:7126",
"gai:7410",
"ge:7463",
"gai:7471",
"gan:7473",
"gang:7574",
"gao:7591",
"ge:7750",
"ji:7773",
"ge:7794",
"gen:7857",
"geng:7886",
"bing:7910",
"geng:7912",
"gong:7919",
"gou:8041",
"gu:8116",
"hu:8177",
"gu:8179",
"yu:8194",
"gu:8197",
"he:8219",
"gu:8224",
"gua:8301",
"gu:8326",
"gua:8328",
"guai:8350",
"guan:8362",
"guang:8451",
"kui:8488",
"gui:8509",
"qiu:8512",
"gui:8526",
"gun:8635",
"guo:8638",
"hai:8698",
"he:8748",
"han:8750",
"hang:8874",
"hao:8876",
"he:8981",
"ge:8988",
"he:8999",
"hei:9119",
"hen:9137",
"heng:9145",
"hong:9220",
"gong:9235",
"hong:9252",
"hou:9315",
"hu:9361",
"hua:9518",
"huai:9652",
"huan:9687",
"hai:9701",
"huan:9717",
"huang:9748",
"hui:9842",
"hun:9982",
"huo:10075",
"ji:10173",
"qi:10357",
"ji:10360",
"qi:10426",
"ji:10427",
"jia:10665",
"jie:10690",
"xia:10747",
"jia:10748",
"jie:10764",
"jia:10768",
"xia:10780",
"jia:10802",
"gan:10809",
"jian:10812",
"xian:11043",
"jian:11045",
"kan:11053",
"jian:11054",
"jiang:11058",
"qiang:11089",
"jiang:11122",
"xiang:11138",
"jiao:11151",
"jue:11212",
"jiao:11216",
"jue:11251",
"jiao:11258",
"jie:11276",
"ji:11431",
"jin:11432",
"gong:11452",
"jin:11455",
"jing:11781",
"jiong:12011",
"jiu:12016",
"ju:12186",
"gou:12286",
"ju:12289",
"juan:12322",
"jue:12359",
"jiao:12405",
"jue:12406",
"jun:12422",
"kai:12447",
"kan:12502",
"kang:12528",
"kao:12553",
"ke:12559",
"ken:12637",
"keng:12639",
"kong:12647",
"kou:12679",
"ku:12749",
"gu:12792",
"kua:12812",
"kuai:12825",
"kuan:12840",
"kuang:12858",
"kui:12910",
"kun:12933",
"kuo:12944",
"la:12948",
"xi:12958",
"lai:12959",
"la:12986",
"lan:12987",
"lang:13022",
"lao:13089",
"liao:13156",
"le:13157",
"lei:13205",
"leng:13253",
"li:13278",
"lian:13494",
"liang:13610",
"liao:13689",
"le:13715",
"liao:13725",
"lie:13730",
"lin:13756",
"ling:13828",
"liu:13888",
"long:14020",
"lou:14152",
"lu:14186",
"liu:14223",
"lu:14227",
"liu:14235",
"lu:14240",
"lü:14259",
"shuai:14298",
"lu:14309",
"luan:14330",
"lüe:14378",
"lun:14394",
"lü:14422",
"luo:14424",
"lao:14437",
"luo:14438",
"la:14442",
"ma:14467",
"mai:14533",
"mo:14601",
"man:14603",
"wan:14687",
"mang:14690",
"mao:14724",
"mo:14753",
"mao:14757",
"mei:14768",
"men:14845",
"meng:14878",
"mi:14904",
"mei:14939",
"mi:14940",
"bi:14964",
"mi:14967",
"mian:14973",
"wen:14988",
"min:14990",
"mian:14991",
"miao:15053",
"mie:15089",
"min:15097",
"ming:15131",
"miu:15308",
"mou:15315",
"mo:15316",
"ma:15366",
"mo:15370",
"mou:15417",
"mu:15433",
"na:15580",
"nai:15619",
"nan:15625",
"na:15640",
"nan:15671",
"nang:15696",
"nu:15706",
"nao:15707",
"ne:15714",
"ni:15716",
"neng:15717",
"ni:15737",
"nian:15787",
"nie:15831",
"nian:15834",
"niao:15837",
"nie:15870",
"ning:15900",
"niu:15914",
"nong:15958",
"nu:15994",
"nü:16019",
"nüe:16032",
"nuan:16033",
"nuo:16034",
"ou:16038",
"pa:16053",
"pai:16064",
"pan:16082",
"pang:16125",
"pao:16157",
"pei:16175",
"pen:16182",
"peng:16188",
"pi:16222",
"bi:16311",
"pi:16312",
"pian:16313",
"piao:16366",
"pie:16390",
"pin:16391",
"ping:16427",
"po:16488",
"pou:16567",
"pu:16583",
"po:16606",
"pu:16610",
"bao:16621",
"qi:16624",
"qia:16996",
"qian:17002",
"qiang:17325",
"qiao:17384",
"shao:17455",
"qie:17456",
"qing:17492",
"qin:17506",
"qing:17557",
"qiong:17818",
"qiu:17874",
"ou:17939",
"qu:17943",
"juan:18027",
"quan:18028",
"que:18094",
"qiao:18105",
"que:18112",
"jue:18117",
"que:18118",
"qun:18129",
"ran:18148",
"rang:18167",
"rao:18182",
"re:18186",
"ren:18210",
"reng:18448",
"ri:18449",
"rong:18582",
"rou:18608",
"ru:18646",
"ruan:18818",
"rui:18828",
"run:18836",
"re:18837",
"ruo:18862",
"sa:18868",
"sai:18882",
"san:18893",
"sang:19089",
"sao:19128",
"se:19155",
"sen:19170",
"seng:19172",
"sha:19173",
"shai:19218",
"shan:19219",
"shang:19335",
"shao:19415",
"she:19442",
"yi:19451",
"she:19460",
"shen:19499",
"sheng:19780",
"shi:19906",
"shen:20054",
"shi:20059",
"shou:20473",
"shu:20583",
"shua:20768",
"shuai:20770",
"shuan:20771",
"shuang:20772",
"shui:20795",
"shun:20879",
"shuo:20923",
"si:20970",
"ci:21111",
"shi:21115",
"si:21125",
"qi:21136",
"si:21137",
"song:21143",
"sou:21184",
"su:21194",
"suan:21236",
"sui:21240",
"sun:21333",
"suo:21348",
"su:21349",
"suo:21356",
"ta:21374",
"dai:21384",
"tai:21385",
"tan:21413",
"shang:21510",
"tang:21514",
"chang:21536",
"tang:21537",
"tao:21538",
"te:21610",
"teng:21612",
"ti:21619",
"di:21633",
"ti:21640",
"tian:21677",
"mian:21888",
"tiao:21890",
"tie:21922",
"ting:21961",
"ding:21984",
"tong:21986",
"tou:22195",
"tu:22292",
"tuan:22371",
"tui:22380",
"tun:22428",
"tuo:22452",
"wa:22495",
"wai:22511",
"wan:22533",
"wang:22662",
"wei:22814",
"yi:22964",
"wei:22968",
"wen:23028",
"weng:23176",
"wo:23185",
"wu:23226",
"xi:23747",
"xia:23921",
"xian:23992",
"qian:24039",
"xian:24044",
"xiang:24147",
"xiao:24277",
"xie:24422",
"ye:24428",
"xie:24439",
"xin:24477",
"xing:24720",
"xiong:24882",
"xiu:24946",
"xu:25002",
"shi:25033",
"xu:25035",
"chu:25042",
"xu:25043",
"xuan:25052",
"huan:25143",
"xue:25146",
"xie:25195",
"xue:25217",
"xun:25220",
"ya:25285",
"ye:25326",
"yan:25328",
"ya:25598",
"yan:25601",
"yang:25677",
"yao:25798",
"ye:25901",
"yi:25946",
"qi:26707",
"yi:26708",
"yin:27307",
"ying:27501",
"yong:27649",
"you:27720",
"yu:27981",
"yuan:28367",
"yao:28489",
"yue:28491",
"yun:28548",
"za:28688",
"zai:28696",
"zan:28736",
"cuan:28738",
"zan:28744",
"zang:28749",
"cang:28759",
"zang:28762",
"zao:28764",
"ze:28829",
"zei:28848",
"zen:28862",
"ceng:28863",
"zeng:28869",
"zha:28873",
"zhai:28882",
"zhan:28895",
"nian:28906",
"zhan:28908",
"nian:28933",
"zhan:28934",
"zhang:28950",
"zhao:29008",
"zhe:29047",
"zhen:29084",
"zheng:29190",
"zhi:29300",
"zi:29321",
"zhi:29322",
"zhong:29668",
"zhou:29877",
"yu:29890",
"zhou:29892",
"zhu:29918",
"shu:30058",
"zhu:30063",
"chu:30069",
"zhu:30078",
"zhe:30097",
"zhu:30101",
"zhua:30113",
"ye:30120",
"zhuan:30127",
"zhuang:30158",
"zhui:30190",
"chui:30222",
"zhui:30241",
"zhun:30248",
"zhuo:30254",
"zhe:30306",
"zhuo:30310",
"zi:30316",
"ci:30325",
"zi:30326",
"zong:30475",
"zou:30494",
"zu:30515",
"zuan:30545",
"zui:30567",
"zun:30601",
"zuo:30622"
]

View File

@ -7,15 +7,15 @@
</head>
<body>
<div id='drawArea'></div>
<!-- <script src="../npm/all/cnchar.all.min.js"></script> -->
<script src="../npm/cnchar/cnchar.min.js"></script>
<script src="../npm/order/cnchar.order.min.js"></script>
<script src="../npm/trad/cnchar.trad.min.js"></script>
<script src="../npm/poly/cnchar.poly.min.js"></script>
<script src="../npm/draw/cnchar.draw.min.js"></script>
<script src="../npm/idiom/cnchar.idiom.min.js"></script>
<script src="../npm/xhy/cnchar.xhy.min.js"></script>
<script src="../npm/radical/cnchar.radical.min.js"></script>
<!-- <script src="../npm/packages/cnchar-all/cnchar.all.min.js"></script> -->
<script src="../npm/packages/cnchar/cnchar.min.js"></script>
<script src="../npm/packages/order/cnchar.order.min.js"></script>
<script src="../npm/packages/trad/cnchar.trad.min.js"></script>
<script src="../npm/packages/poly/cnchar.poly.min.js"></script>
<script src="../npm/packages/draw/cnchar.draw.min.js"></script>
<script src="../npm/packages/idiom/cnchar.idiom.min.js"></script>
<script src="../npm/packages/xhy/cnchar.xhy.min.js"></script>
<script src="../npm/packages/radical/cnchar.radical.min.js"></script>
<script>
console.log(cnchar);
console.log(cnchar.stroke('一个', 'order'));

View File

@ -1,3 +0,0 @@
"单折喝着蕃量沓烊载曝宁和省拗臭度哄丧差扎埋盛伧创伯疟看行艾把传荷涨奇炮给冠干巷薄拓恶便宿号藏轧卡调模没舍殷还系假降脯间石劲茄刨弹颤扒散数参会簸吓胖耙伺好咳处囤缝澄扇得屏几卷乐了吭粘畜称弄俩露重率空泊朝膀校强塞辟倒都匙"
"暴辟裨背艾拗乐累量绿处据壳扛横哄遗济贾觉禁冠给分便参称落难胖屏迫仆强浅卡悄曲塞属数说宿伺沓汤提帖"