Skip to content

scillidan/share_cc-cedict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

share_cc-cedict

Create Releases

Data from CC-CEDICT under CC BY-SA 4.0. See more on CC-CEDICT Wiki.

Usage

  1. Download files from Releases.
  2. Use them in GoldenDict (StarDict format), sdcv, dictd.
  3. See preview screenshot here.

GoldenDict

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.

sdcv

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

dictd

# 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.service
chmod +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

About

CC-CEDICT dictionary files for GoldenDict, sdcv, dictd.

Resources

Stars

Watchers

Forks

Contributors