This repository provides ready-to-use Polish dictionary files and scripts for enabling Polish language support in PostgreSQL's full-text search.
Usage:
- Download dictionary files (
polish.affix,polish.dict,polish.stop) from the GitHub Releases page (or generate them manually with./build.shand obtainpolish.stopby cloning this repository). - Install into PostgreSQL:
./install_polish_dict.sh <DB_NAME> <DB_USER> [DB_HOST] [DB_PORT] - Test:
SELECT * FROM ts_debug('pl_ispell', 'Bekasy nie wytsymały. Fetor przepłoszył je z terenów lęgowych. Ryby, w Morskim Łoku zdechły, a w Carnym Stawie, zdechły');