Crate dictcc [] [src]

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

DictEntry

Structure that holds the word pair and it's class

DictLanguagePair

A pair of two languages. Identifies the languages of a single translation database file.

DictQuery

Builder for a DictQueryResult.

DictQueryResult

Result of a translation query

DictWord

Structure that contains all fields of a dictionary entry from dict.cc

Enums

Gender

Lists all available genders

Language

Lists all available languages

QueryDirection

In which direction a query is executed. Used by DictQuery. Can be inferred by DictLanguagePair::infer_query_direction.

QueryType

Different types of queries. Used by DictQuery.

WordClass

Lists all available WordClasses