Expand description
Rust API for reading and querying the dict.cc offline translation database.
Modules§
- error
- Error handling.
- grouped
- Grouped representation and pretty printing of
DictQueryResult
in tabular form. - word_
ast - Parsing and AST of the bracket syntax of dict.cc, see Guidelines
Structs§
- Dict
- Structure that contains all dictionary entries
- Dict
Entry - Structure that holds the word pair and it’s class
- Dict
Language Pair - A pair of two languages. Identifies the languages of a single translation database file.
- Dict
Query - Builder for a
DictQueryResult
. - Dict
Query Result - Result of a translation query
- Dict
Word - Structure that contains all fields of a dictionary entry from dict.cc
Enums§
- Gender
- Lists all available genders
- Language
- Lists all available languages
- Query
Direction - In which direction a query is executed. Used by
DictQuery
. Can be inferred byDictLanguagePair::infer_query_direction
. - Query
Type - Different types of queries. Used by
DictQuery
. - Word
Class - Lists all available
WordClasses