# DICT

The DICT format is used by the `dictd` software. A dictionary is divided in two files: a `.index` file and a `.dict` file. For further information, see&#x20;

### Download

You can download the `.index` and `.dict` format for each dictionary directly from the [Github Releases](https://github.com/camarm-dev/remede/releases/).

### How to convert

To convert Remède dictionaries databases to the DICT format, there is a `prepare.py` script.

First, execute the script

```
python3 dictd/prepare.py
```

Then, switch to the `convert/dictionaries` directory. Using `dictfmt` , generate the `.index` and `.dict` files.

```
dictfmt -e --utf8 --allchars -s "Remède Français" remede < remede.txt
dictfmt -e --utf8 --allchars -s "Remède English" remede.en < remede.en.txt
```

*Remède database are now available in the DICT format at `convert/dictionaries` .*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.remede.camarm.fr/database/available-formats/dict.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
