{"id":19076482,"url":"https://github.com/torfsen/purestemmer","last_synced_at":"2026-05-20T15:30:18.742Z","repository":{"id":19411356,"uuid":"22653415","full_name":"torfsen/purestemmer","owner":"torfsen","description":"Pure-Python implementations of the Snowball stemming algorithms.","archived":false,"fork":false,"pushed_at":"2014-08-08T11:47:41.000Z","size":1920,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T18:25:07.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torfsen.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-05T17:50:31.000Z","updated_at":"2017-09-25T11:48:11.000Z","dependencies_parsed_at":"2022-09-15T02:02:13.252Z","dependency_job_id":null,"html_url":"https://github.com/torfsen/purestemmer","commit_stats":null,"previous_names":["torfuspolymorphus/purestemmer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Fpurestemmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Fpurestemmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Fpurestemmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Fpurestemmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torfsen","download_url":"https://codeload.github.com/torfsen/purestemmer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240128311,"owners_count":19752162,"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":[],"created_at":"2024-11-09T01:59:29.682Z","updated_at":"2026-05-20T15:30:18.664Z","avatar_url":"https://github.com/torfsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"*purestemmer* - A pure-Python implementation of the Snowball stemmers\n#####################################################################\nThe traditional way of using the `Snowball stemmers`_ in Python is via\nthe pystemmer_ package, which provides a Python wrapper around the\nSnowball C library. However, Python C extensions are problematic in\nsome environments. Therefore, this package provides pure-Python\nimplementations of the Snowball stemming algorithms.\n\nThe implementations of the stemming algorithms is translated from the\nSnowball language to Python via sbl2py_.\n\n.. _`Snowball stemmers`: http://snowball.tartarus.org/\n.. _pystemmer: https://pypi.python.org/pypi/PyStemmer\n.. _sbl2py: https://pypi.python.org/pypi/sbl2py\n\n\nInstallation\n============\nInstalling *purestemmer* is easy using pip_::\n\n    pip install purestemmer\n\n.. _pip: http://pip.readthedocs.org/en/latest/index.html\n\n\nUsage\n=====\nUsually, you'll prefer to use the *pystemmer* module whenever that is\npossible, because it's much faster than *purestemmer*::\n\n    try:\n        import Stemmer\n    except ImportError:\n        # pystemmer is not available, use purestemmer instead\n        import purestemmer as Stemmer\n\nSince *purestemmer* has the same public API and provides the same\nalgorithms as *pystemmer*, there should be no need to change any code\nwhen switching between *pystemmer* and *purestemmer* like this.\n\nPlease see the *pystemmer* documentation for details on how to use the\nstemming algorithms.\n\n\nDifferences between *purestemmer* and *pystemmer*\n=================================================\n* *purestemmer* has only been tested on Python 2.7\n* ``purestemmer.Stemmer`` instances are thread-safe\n* *purestemmer* is on average about 100x slower than *pystemmer*\n\n\nLicense\n=======\n*purestemmer* itself is covered by the `MIT License`_. The underlying\nSnowball algorithms are covered by the `BSD-3 License`_. Please see the\n``LICENSE`` file for details.\n\n.. _`MIT License`: http://opensource.org/licenses/MIT\n.. _`BSD-3 License`: http://opensource.org/licenses/BSD-3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfsen%2Fpurestemmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorfsen%2Fpurestemmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfsen%2Fpurestemmer/lists"}