Corspell is a modular application designed to automate the detection of non-standard words and the generation of form replacements for Brazilian Portuguese texts in order to normalize spelling. Thought it is still under development, we aimed at a design that allows others developers and researchers to easily swap, customize and modify core features, like our text processing pipeline.
CorSpell currently supports the upload of zipped batches of text files in txt and docx formats. Once uploaded, these go through a customizeable processing pipeline, further detailed here, and is then made available to users for normalization.
This application currently supports OCR processing via the Gemini API. Though completely optional, it is suitable for users that need to more easily transcribe and review large quantites of digitized handwritten documents.
The documentation for Corspell is available here. It includes detailed information about the architecture, design decisions, and implementation of the application, as well as instructions for installation and usage.
The backend now uses uv as its Python dependency manager. From api/, use:
uv sync --group dev
uv run flask runThe source of truth for backend dependencies is api/pyproject.toml plus api/uv.lock.
Important
This packaging change does not solve native Hunspell builds on Windows. If you cannot install Hunspell locally on Windows, use the backend through Docker or WSL.
For local development, the default Docker stack is defined in docker-compose.local.yml.
Use native Ollama on Windows and point the app containers to the host machine:
ollama serve
docker compose -f docker-compose.local.host-ollama.yml up --build -dThis mode is intended for local AMD machines. It does not start the containerized ollama services; the backend and worker talk directly to the host Ollama instance at host.docker.internal:11434.
If you want the local stack to run Ollama inside Docker instead, use:
docker compose -f docker-compose.local.yml up --build -dOn NVIDIA hosts, add the dedicated override:
docker compose -f docker-compose.yml -f docker-compose.nvidia.yml up --build -d

