Shenmeci is a simple Chinese-English online dictionary.
It uses a dictionary-based Chinese word segmentation approach, matching maximal-length words from left to right.
Full-Text Search for English terms is also available.
An online instance can be found at http://shenmeci.rodolfocarvalho.net.
The project source-code is hosted at https://github.com/rhcarvalho/shenmeci.
You will need a recent version of Go.
Checkout the repository and then:
-
Download the CEDICT Chinese-English dictionary:
$ ./download_dict.sh
-
Create a configuration file in the repository root called
config.json
:{ "Http": { "Host": "127.0.0.1", "Port": 8080 }, "CedictPath": "dict/cedict_1_0_ts_utf-8_mdbg.txt.gz" }
-
Start the HTTP server:
$ go run -tags sqlite_fts5 .
bin/deploy-fly