Expose CC-CEDICT bytes as a Go module
This commit is contained in:
1 parent
dd13cd3b86
commit
f7d959e0ab
4 files changed
+51
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
// Package cedict provides an embedded copy of the [CC-CEDICT] Chinese to
|
||||
// English word dictionary.
|
||||
//
|
||||
// [CC-CEDICT]: https://www.mdbg.net/chinese/dictionary?page=cc-cedict
|
||||
package cedict
|
||||
|
||||
import _ "embed"
|
||||
|
||||
// Bytes are the raw bytes of the dictionary.
|
||||
//
|
||||
// The format is described on the [CC-CEDICT Wiki].
|
||||
//
|
||||
// [CC-CEDICT Wiki]: https://cc-cedict.org/wiki/format:syntax
|
||||
//
|
||||
//go:embed cedict_1_0_ts_utf-8_mdbg.txt
|
||||
var Bytes []byte
|
||||
Reference in new issue
Block a user