Skip to content

Always up-to-date copy of the CC-CEDICT, a Chinese to English dictionary

License

Notifications You must be signed in to change notification settings

rhcarvalho/cedict

Repository files navigation

Update CC-CEDICT Go Reference

cedict

An always up-to-date copy of the CC-CEDICT, a Chinese to English word dictionary with pronunciation in pinyin for the Chinese characters.

MDBG Chinese-English dictionary

The original dictionary is available as a plain text file. In addition to that, this repository is a Go module, which allows for easy consumption of the dictionary bytes from a Go program.

package main

import (
	"os"

	"github.com/rhcarvalho/cedict"
)

func main() {
	os.Stdout.Write(append(cedict.Bytes[:200], []byte("...\n")...))
}

The dictionary is automatically updated daily (if there are changes upstream).

License

The original CC-CEDICT by MDBG is licensed under CC BY-SA 4.0.

The remaining content of this repository is licensed under the Apache License 2.0.

About

Always up-to-date copy of the CC-CEDICT, a Chinese to English dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published