{"id":13509395,"url":"https://github.com/fredwu/stemmer","last_synced_at":"2025-10-05T18:08:21.530Z","repository":{"id":9874764,"uuid":"63606349","full_name":"fredwu/stemmer","owner":"fredwu","description":"An English (Porter2) stemming implementation in Elixir.","archived":false,"fork":false,"pushed_at":"2024-01-14T01:49:21.000Z","size":204,"stargazers_count":153,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-25T05:07:46.770Z","etag":null,"topics":["bayes","porter","stemmer"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fredwu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-07-18T13:42:33.000Z","updated_at":"2025-05-17T14:31:26.000Z","dependencies_parsed_at":"2024-01-31T07:53:43.936Z","dependency_job_id":null,"html_url":"https://github.com/fredwu/stemmer","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":0.01754385964912286,"last_synced_commit":"750514636c399350e7ee7fbef5b731ea1cf0335c"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/fredwu/stemmer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fstemmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fstemmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fstemmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fstemmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredwu","download_url":"https://codeload.github.com/fredwu/stemmer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fstemmer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278494646,"owners_count":25996414,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bayes","porter","stemmer"],"created_at":"2024-08-01T02:01:07.177Z","updated_at":"2025-10-05T18:08:21.483Z","avatar_url":"https://github.com/fredwu.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers","Elixir"],"sub_categories":["Tools","[Tools](#tools-1)","Speech Recognition"],"readme":"# Stemmer [![Travis](https://img.shields.io/travis/fredwu/stemmer.svg)](https://travis-ci.org/fredwu/stemmer) [![Coverage](https://img.shields.io/coveralls/fredwu/stemmer.svg)](https://coveralls.io/github/fredwu/stemmer?branch=master) [![Hex.pm](https://img.shields.io/hexpm/v/stemmer.svg)](https://hex.pm/packages/stemmer)\n\nAn English ([Porter2](http://snowballstem.org/algorithms/english/stemmer.html)) stemming implementation in Elixir.\n\n\u003e In linguistic morphology and information retrieval, __stemming__ is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form. The stem need not be identical to the morphological root of the word; it is usually sufficient that related words map to the same stem, even if this stem is not in itself a valid root. - [Wikipedia](https://en.wikipedia.org/wiki/Stemming)\n\n## Usage\n\nThe `Stemmer.stem/1` function supports stemming a single word (`String`), a sentence (`String`) or a list of single words (`List` of `String`s).\n\n```elixir\nStemmer.stem(\"capabilities\")                    # =\u003e \"capabl\"\nStemmer.stem(\"extraordinary capabilities\")      # =\u003e \"extraordinari capabl\"\nStemmer.stem([\"extraordinary\", \"capabilities\"]) # =\u003e [\"extraordinari\", \"capabl\"]\n```\n\n## Compatibility\n\nStemmer is 100% compatible with the official Porter2 implementation, it is tested against the official [`diffs.txt`](http://snowball.tartarus.org/algorithms/english/diffs.txt) which contains more than 29000 words.\n\n## Naive Bayes\n\nStemmer was built to support the [Simple Bayes](https://github.com/fredwu/simple_bayes) library. :heart:\n\n## License\n\nLicensed under [MIT](http://fredwu.mit-license.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwu%2Fstemmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredwu%2Fstemmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwu%2Fstemmer/lists"}