European Portuguese spelling dictionary ======================================= The word list in `pt-PT.dic.gz` and the suggestion directives in `pt-PT.aff` are derived from the LibreOffice/Projecto Natura Hunspell dictionary for European Portuguese (`pt_PT.aff` / `pt_PT.dic`), as packaged by Debian/Ubuntu in `hunspell-pt-pt`. Copyright (C) 2006-2012 José João de Almeida Rui Vilela Alberto Simões Universidade do Minho — Projecto Natura License: GPL-2 or LGPL-2.1 or MPL-1.1 (Petal redistributes it under the MPL-1.1 option.) Upstream: https://natura.di.uminho.pt/ — via https://git.libreoffice.org/dictionaries/+/refs/heads/master/pt_PT What Petal changed ------------------ Nothing about which words are correct. `scripts/build_hunspell_dictionary.py` applies the upstream affix rules ahead of time — Hunspell's PFX/SFX expansion run once at build time instead of once per browser — and writes the resulting 1,039,058 surface forms as a flat word list. The shipped `.aff` keeps only upstream's TRY/KEY/REP/MAP/WORDCHARS lines, which shape *corrections* rather than membership. See that script's header for why the dictionary could not be vendored in its original form. Note that npm's `dictionary-pt` is *not* this dictionary: both it and `dictionary-pt-br` package the Brazilian VERO word list.