{"id":41366101,"url":"https://github.com/knuppe/rslp","last_synced_at":"2026-01-23T08:26:41.785Z","repository":{"id":116971073,"uuid":"466290980","full_name":"knuppe/rslp","owner":"knuppe","description":"A stemming algorithm for the Portuguese language","archived":false,"fork":false,"pushed_at":"2022-03-15T11:23:15.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T15:52:24.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knuppe.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":"2022-03-04T22:46:10.000Z","updated_at":"2022-12-06T13:42:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e57297d-b6cc-4da4-a8bb-177391fc0707","html_url":"https://github.com/knuppe/rslp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/knuppe/rslp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuppe%2Frslp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuppe%2Frslp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuppe%2Frslp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuppe%2Frslp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knuppe","download_url":"https://codeload.github.com/knuppe/rslp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuppe%2Frslp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28684541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-23T08:26:38.878Z","updated_at":"2026-01-23T08:26:41.766Z","avatar_url":"https://github.com/knuppe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSLP\n\nA [Go (golang)](http://golang.org) implementation of the Stemming Algorithm for the Portuguese Language for natural language processing.\n\n[![Codecov](https://codecov.io/gh/knuppe/rslp/branch/main/graph/badge.svg)](https://codecov.io/gh/knuppe/rslp)\n[![Go](https://github.com/knuppe/rslp/actions/workflows/go.yml/badge.svg)](https://github.com/knuppe/rslp/actions/workflows/go.yml)\n[![CodeQL](https://github.com/knuppe/rslp/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/knuppe/rslp/actions/workflows/codeql-analysis.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/knuppe/rslp)](https://goreportcard.com/report/github.com/knuppe/rslp)\n[![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThis package uses the algorithm described in [this article](http://doi.ieeecomputersociety.org/10.1109/SPIRE.2001.10024) by Viviane Moreira Orengo and Christian Huyck.\n\n![Schema](https://raw.githubusercontent.com/knuppe/rslp/main/steps.png)\n\n\n## Usage\n\n```bash\ngo get -u github.com/knuppe/rslp@latest\n```\n\nHere is a minimal Go program that uses this package in order\nto stem a single word **or** a sentence.\n\n```go\npackage main\nimport (\n\t\"fmt\"\n\t\"github.com/knuppe/rslp\"\n)\n\nfunc main(){\n    // single word\n\tstemmed := rslp.Stem(\"cantárei\")\n\tfmt.Println(stemmed) // Prints \"cant\"\n\n    // sentence\n    stemmed = rslp.StemSentence(\"Que você compartilhe livremente, nunca recebendo mais do que você dá.\")\n    fmt.Println(stemmed) // Prints \"que voc compartilh livremente, nunc receb mais do que voc da.\"\n}\n```\n\n\n## License (MIT)\n\nCopyright (c) 2022 Gustavo Knuppe\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuppe%2Frslp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknuppe%2Frslp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuppe%2Frslp/lists"}