Creating & Loading Dictionaries
Dictionaries can be loaded using the ChineseDictionary
constructor. Currently, dictionaries can only be loaded from text files, but there may be support for other formats in the future.
Missing docstring for ChineseDictionary
. Check Documenter's build log for details.
File Format for a Text-Based Dictionary
See the formatting guide for the CC-CEDICT project for how each line should be formatted (just consider the formatting elements and not necessarily the other notes on translation/dictionary entry creation).Each line of the file should be a single entry; for examples, see the small test dictionaries in the repository. Lines starting with a "#" are treated as comments and ignored.