{"id":22767104,"url":"https://github.com/judehunter/polish-tsearch","last_synced_at":"2025-03-30T10:43:07.526Z","repository":{"id":128756211,"uuid":"287046599","full_name":"judehunter/polish-tsearch","owner":"judehunter","description":"Polish dictionary files for PostgreSQL Text Search with correct UTF8 encoding and names","archived":false,"fork":false,"pushed_at":"2020-08-12T15:32:30.000Z","size":1542,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T12:36:12.311Z","etag":null,"topics":["dictionary","postgres","postgres-extension","postgresql","tsearch","unlicensed"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/judehunter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-12T15:14:15.000Z","updated_at":"2024-06-04T21:37:12.000Z","dependencies_parsed_at":"2023-04-14T00:33:39.740Z","dependency_job_id":null,"html_url":"https://github.com/judehunter/polish-tsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judehunter%2Fpolish-tsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judehunter%2Fpolish-tsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judehunter%2Fpolish-tsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judehunter%2Fpolish-tsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/judehunter","download_url":"https://codeload.github.com/judehunter/polish-tsearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246307931,"owners_count":20756478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dictionary","postgres","postgres-extension","postgresql","tsearch","unlicensed"],"created_at":"2024-12-11T13:16:58.907Z","updated_at":"2025-03-30T10:43:07.521Z","avatar_url":"https://github.com/judehunter.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Polish .affix, .dict, .stop files for PostgreSQL Text Search\n\nThis repository has all the files you need to add the Polish dictionary to your PostgreSQL database:\n```\npolish.affix\npolish.dict\npolish.stop\n```\nAll with the correct `UTF-8` encoding (instead of `iso-8859-2`) and names\n\n#### Licensing\n\nThis repository uses `The Unlicense` license (public domain).\n\n`.affix` and `.dict` files come from [sjp.pl](https://sjp.pl/slownik/ort/) (`sjp-ispell-pl-%date%-src.tar.bz2`), originally in the `iso-8859-2` encoding and named `.aff`, `.all`.\n\n`.stop` file comes from https://raw.githubusercontent.com/dominem/stopwords/master/polish.stopwords.txt\n\n## Usage\n\nJust move the files to `share/tsearch_data` (`Unix`: where share means the PostgreSQL installation's shared-data directory. `Windows`: the path is relative to PostgreSQL installation directory).\n\nThen, run the following on your database:\n```postgres\nBEGIN;\n      CREATE TEXT SEARCH CONFIGURATION public.polish ( COPY = pg_catalog.english );\n\n      CREATE TEXT SEARCH DICTIONARY polish_ispell (\n        TEMPLATE = ispell,\n        DictFile = polish,\n        AffFile = polish,\n        StopWords = polish\n      );\n\n      ALTER TEXT SEARCH CONFIGURATION polish\n        ALTER MAPPING FOR asciiword, asciihword, hword_asciipart, word, hword, hword_part\n        WITH polish_ispell;\nCOMMIT;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudehunter%2Fpolish-tsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjudehunter%2Fpolish-tsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudehunter%2Fpolish-tsearch/lists"}