├── .github └── workflows │ └── release.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── src ├── charater │ ├── index.ts │ ├── s2t-char.json │ └── t2s-char.json ├── main.ts ├── model │ └── model.ts ├── path.ts ├── utilities │ ├── dict.ts │ ├── fs.ts │ ├── json-stringify.ts │ ├── manifest.ts │ └── patch-numeral.ts └── word │ ├── entertainment.s2t.ts │ ├── entertainment.t2s.ts │ ├── general.s2t.ts │ ├── general.t2s.ts │ ├── index.ts │ ├── it.s2t.ts │ ├── it.t2s.ts │ ├── person.s2t.ts │ ├── person.t2s.ts │ ├── place.s2t.ts │ ├── place.t2s.ts │ ├── punctuation.s2t.ts │ ├── punctuation.t2s.ts │ ├── science.s2t.ts │ ├── science.t2s.ts │ └── unit.s2t.ts └── tsconfig.json /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx nano-staged 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .husky -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.eol": "\n" 3 | } 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/package.json -------------------------------------------------------------------------------- /src/charater/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/charater/index.ts -------------------------------------------------------------------------------- /src/charater/s2t-char.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/charater/s2t-char.json -------------------------------------------------------------------------------- /src/charater/t2s-char.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/charater/t2s-char.json -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/model/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/model/model.ts -------------------------------------------------------------------------------- /src/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/path.ts -------------------------------------------------------------------------------- /src/utilities/dict.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/utilities/dict.ts -------------------------------------------------------------------------------- /src/utilities/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/utilities/fs.ts -------------------------------------------------------------------------------- /src/utilities/json-stringify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/utilities/json-stringify.ts -------------------------------------------------------------------------------- /src/utilities/manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/utilities/manifest.ts -------------------------------------------------------------------------------- /src/utilities/patch-numeral.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/utilities/patch-numeral.ts -------------------------------------------------------------------------------- /src/word/entertainment.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/entertainment.s2t.ts -------------------------------------------------------------------------------- /src/word/entertainment.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/entertainment.t2s.ts -------------------------------------------------------------------------------- /src/word/general.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/general.s2t.ts -------------------------------------------------------------------------------- /src/word/general.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/general.t2s.ts -------------------------------------------------------------------------------- /src/word/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/index.ts -------------------------------------------------------------------------------- /src/word/it.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/it.s2t.ts -------------------------------------------------------------------------------- /src/word/it.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/it.t2s.ts -------------------------------------------------------------------------------- /src/word/person.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/person.s2t.ts -------------------------------------------------------------------------------- /src/word/person.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/person.t2s.ts -------------------------------------------------------------------------------- /src/word/place.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/place.s2t.ts -------------------------------------------------------------------------------- /src/word/place.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/place.t2s.ts -------------------------------------------------------------------------------- /src/word/punctuation.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/punctuation.s2t.ts -------------------------------------------------------------------------------- /src/word/punctuation.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/punctuation.t2s.ts -------------------------------------------------------------------------------- /src/word/science.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/science.s2t.ts -------------------------------------------------------------------------------- /src/word/science.t2s.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/science.t2s.ts -------------------------------------------------------------------------------- /src/word/unit.s2t.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/src/word/unit.s2t.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongwentang/tongwen-dict/HEAD/tsconfig.json --------------------------------------------------------------------------------