Data from CC-CEDICT under CC BY-SA 4.0. See more on CC-CEDICT Wiki.
- Download files from Releases.
- Use them in GoldenDict (StarDict format), sdcv, dictd.
- See preview screenshot here.
Not recommended used with dictionaries Simplified to traditional Chinese or Traditional to simplified Chinese. If you do, The word entry will be displayed repeatedly once.
export STARDICT_DATA_DIR="<path_to_dictionaries>"
chmod +x ./sdcv-awk.sh
# Install
ln -sfn $(pwd)/sdcv-awk.sh ~/.local/bin/sdcv-awk
# Usage
sdcv --color --use-dict CC-CEDICT -n <word> | sdcv-awk
# Uninstall
rm ~/.local/bin/sdcv-awk# Arch
unzip cc-cedict-<version>-dictd.zip
sudo cp cc-cedict-<version>-dictd.{index,dict.dz} /usr/share/dictd/
sudo vim /etc/dict/dictd.conf# Add database
database cc-cedict {
data /usr/share/dictd/cc-cedict-<version>-dictd.dict.dz
index /usr/share/dictd/cc-cedict-<version>-dictd.index
}
sudo systemctl restart dictd.servicechmod +x ./dictd-awk.sh
# Install
ln -sfn $(pwd)/dictd-awk.sh ~/.local/bin/dictd-awk
# Usage
dict --host localhost --port 2528 --database cc-cedict -n <word> | dictd-awk