{"id":16901432,"url":"https://github.com/dvarrazzo/italian_fts","last_synced_at":"2025-04-11T14:14:16.937Z","repository":{"id":56099295,"uuid":"1652499","full_name":"dvarrazzo/italian_fts","owner":"dvarrazzo","description":"Italian full-text search dictionary and configuration for PostgreSQL","archived":false,"fork":false,"pushed_at":"2020-11-26T23:04:08.000Z","size":2623,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T10:21:56.945Z","etag":null,"topics":["full-text-search","italian","italiano","postgresql"],"latest_commit_sha":null,"homepage":"https://www.varrazzo.com/fts_italiano/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvarrazzo.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-23T04:03:09.000Z","updated_at":"2025-02-13T01:08:28.000Z","dependencies_parsed_at":"2022-08-15T13:10:26.437Z","dependency_job_id":null,"html_url":"https://github.com/dvarrazzo/italian_fts","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fitalian_fts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fitalian_fts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fitalian_fts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvarrazzo%2Fitalian_fts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvarrazzo","download_url":"https://codeload.github.com/dvarrazzo/italian_fts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248415390,"owners_count":21099658,"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":["full-text-search","italian","italiano","postgresql"],"created_at":"2024-10-13T17:58:35.051Z","updated_at":"2025-04-11T14:14:16.911Z","avatar_url":"https://github.com/dvarrazzo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================================\nItalian Full-Text Search Dictionary\n===================================\n\n:Author: Daniele Varrazzo\n:Contact: daniele.varrazzo@gmail.com\n:Organization: `Develer S.r.l. \u003chttp://www.develer.com\u003e`__\n:Source code: `On GitHub \u003chttps://github.com/dvarrazzo/italian_fts/\u003e`__\n:Download: `From PGXN \u003chttps://pgxn.org/dist/italian_fts/\u003e`__\n\n:Summary: This package provides an ISpell dictionary to perform high quality\n    *full text search* in Italian documents using the PostgreSQL_ database.\n\n    Using the provided dictionary, search operations in Italian documents can\n    keep into account morphological variations of Italian words, such as verb\n    conjugations.\n\n    .. _PostgreSQL: http://www.postgresql.org\n\n\n:Copyright: 2001, 2002 Gianluca Turconi\n:Copyright: 2002, 2003, 2004 Gianluca Turconi and Davide Prina\n:Copyright: 2004, 2005, 2006 Davide Prina\n:Copyright: 2007-2020 Daniele Varrazzo\n\n\nPackage description\n===================\n\nThis package contains an ISpell dictionary useful to perform high quality\nfull-text searches in Italian language documents. The package also contains\ninstallation and configuration files.\n\n\nPrerequisites\n=============\n\nThis package can be used to install and configure the ISpell dictionary in\nall supported PostgreSQL versions.\n\n\nPackage installation\n====================\n\nYou can use the `PGXN Client`__ to install the dictionary::\n\n    $ [sudo] pgxn install italian_fts\n\n.. __: https://pgxn.github.io/pgxnclient/\n\nThis installs the extension files in the PostgreSQL cluster. Please check\n`pgxn install`__ options if you have more than one cluster.\n\n.. __: https://pgxn.github.io/pgxnclient/usage.html#pgxn-install\n\nAfter the package has been installed you can use SQL command `CREATE\nEXTENSION`__ to make the dictionary available in a database::\n\n    CREATE EXTENSION italian_fts;\n\n.. __: https://www.postgresql.org/docs/current/sql-createextension.html\n\n\nDictionary usage\n================\n\nThe extension creates a text search dictionary ``italian_ispell`` and a text\nsearch configuration also called ``italian_ispell`` using the dictionary as a\ndefault and falling back to the Snowball stemmer ``italian_stem`` (installed\nby default by PostgreSQL) when a word is not found.  Here is a result of the\nprocess of a sample text with the ``italian_ispell`` configuration::\n\n    =# select token, dictionary, lexemes\n        from ts_debug('italian_ispell', $$\n            Né più mai toccherò le sacre sponde\n            ove il mio corpo fanciulletto giacque,\n            Zacinto mia, che te specchi nell'onde\n            del greco mar da cui vergine nacque\n            ...\n        $$)\n        where array_upper(lexemes,1) \u003c\u003e 0;\n\n        token     |   dictionary   |    lexemes\n    --------------+----------------+----------------\n     più          | italian_ispell | {più}\n     mai          | italian_ispell | {mai}\n     toccherò     | italian_ispell | {toccare}\n     sacre        | italian_ispell | {sacro}\n     sponde       | italian_ispell | {sponda}\n     ove          | italian_ispell | {ove}\n     corpo        | italian_ispell | {corpo}\n     fanciulletto | italian_ispell | {fanciulletto}\n     giacque      | italian_ispell | {giacere}\n     Zacinto      | italian_stem   | {zacint}\n     specchi      | italian_ispell | {specchiare}\n     onde         | italian_ispell | {onda}\n     greco        | italian_ispell | {greco}\n     mar          | italian_ispell | {mare}\n     vergine      | italian_ispell | {vergine}\n     nacque       | italian_ispell | {nascere}\n    (16 rows)\n\nFor general usage of the full-text search features in PostgreSQL please refer\nto the `database documentation`__.\n\n.. __: https://www.postgresql.org/docs/current/textsearch.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvarrazzo%2Fitalian_fts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvarrazzo%2Fitalian_fts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvarrazzo%2Fitalian_fts/lists"}