LogoLogo
  • 👋Welcome
  • For the users
    • 📱Download
      • 🔄Update application
    • 📖Offline dictionaries
    • 🌐Dictionaries servers
    • ⁉️Support
  • For the developers
    • 🖥️Getting started
    • 🛠️Develop on Remède
      • 🔌Setup
      • 📁Structure
      • 🧸Development
      • ⚙️API
      • ✨Features
        • ✈️Offline
        • 📒Sheets
        • 🧰DICT Client
      • Android development
    • 📪API
  • Database
    • 🗃️Database
      • 📋Database schema
      • 🗒️Document schema
      • 📦Dataset
      • 🎶Rimes
      • 📍Internationalization
        • 🇬🇧English database
    • 🚧Build Dictionary
      • The building lifecycle
      • Generate my own database
      • About
    • 📌Remède for your project
    • 📎Available formats
      • DICT
      • XDXF
      • CSV
    • ©️Credits
  • Project
    • 📜Story
    • 🙏Contributing
      • 🌐Translation
    • 👣Lifecycles and infrastructure
    • ⏭️Remède Next
Powered by GitBook

Find us

  • Website
  • Github
  • Support

© 2025 The Remède Project and its contributors.

On this page
  • Api Définition
  • Start with docker
  • Quickly add a word
  • Wordlist iterator

Was this helpful?

Edit on GitHub
  1. Database
  2. Build Dictionary

About

This section contains documentation for related resources to Remède generation.

PreviousGenerate my own databaseNextRemède for your project

Last updated 3 months ago

Was this helpful?

Api Définition

This API, written by , scrap the .

For Remède, it has been readapted by

Start with docker

This API's code is contained under the api-definition folder which is a git submodule.

In api-definition folder:

docker build -t remede-definition-api . && docker run -p 8089:80 remede-definition-api

Quickly add a word

The script scripts/add_word.py let you add a word to the Remède database without rebuilding it totally.

It :

  • Add your word in data/mots.txt

  • Add your word's document in data/remede.db

You must have an instance running locally !

python3 scripts/add_word.py <word> <phoneme>

To add multiple words:

wordlist.txt (tabulation between word and IPA: mot\t/ipa/)

acupuncture /a.ky.pɔ̃k.tyʁ/
remède  /ʁəmɛd/

and execute

python3 scripts/add_word.py -f wordlist.txt

Wordlist iterator

This script was created to iterate wordlists (text file with words separated by a newline) to add them to Remède...

The script scripts/check_wordlist.py iterate the given wordlist, find every word phoneme and add them to a .words_to_add file.

It adds all the words that are not already in the database to this file, them can be added with scripts/add_word.py. (referenced just above)

Usage:

python3 scripts/check_wordlist.py <path to wordlist>
🚧
Frederic Gainza
French Wictionary
Labse Software
api-definition