Skip to main content

Module dictionary_index

Module dictionary_index 

Source
Expand description

Background task that reads .index files from disk and inserts their entries into SQLite for fast lookups.

Structsยง

DictionaryIndexTask
Indexes .index dictionary files into SQLite for fast word lookups.
IndexFileJob ๐Ÿ”’

Constantsยง

BATCH_SIZE ๐Ÿ”’

Functionsยง

decode_number ๐Ÿ”’
Decodes a base64-like encoded number from the StarDict/dictd .index format.
delete_entries_for_dict ๐Ÿ”’
Deletes all index entries for a single dictionary in batches.