Expand description
A dict format (*.dict) reader crate.
This crate can read dictionaries in the dict format, as used by dictd. It supports both uncompressed and compressed dictionaries.
It also provides support for downloading dictionaries from the monolingual project.
Modulesยง
- db_
index ๐ - SQLite-backed dictionary index reader.
- dictreader ๐
- Open and read .dict or .dict.dz files.
- errors ๐
- Errors for the Dict dictionary crate.
- indexing ๐
- Shared types for dictionary index readers.
- monolingual ๐
- Monolingual dictionary support.
Structsยง
- Dictionary
- A dictionary wrapper.
- Metadata
- The special metadata entries that we care about.
Functionsยง
- load_
dictionary - Load dictionary from given
DictReaderandIndex. - load_
dictionary_ from_ db - Load dictionary using a database-backed index reader.
- resolve_
dict_ id - Resolves the
dict_idfor a given fingerprint from the database.