{"id":19056835,"url":"https://github.com/andrianllmm/aklanon-stemmer","last_synced_at":"2025-10-26T15:11:48.634Z","repository":{"id":252386465,"uuid":"840279587","full_name":"andrianllmm/aklanon-stemmer","owner":"andrianllmm","description":"A Python library for Aklanon word stemming.","archived":false,"fork":false,"pushed_at":"2024-08-09T11:25:48.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T11:44:08.538Z","etag":null,"topics":["aklanon","language-processing","nlp","stemmer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrianllmm.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":"2024-08-09T10:58:04.000Z","updated_at":"2024-09-07T14:41:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"44335e96-45c6-4794-a871-eb4f7d22dc1d","html_url":"https://github.com/andrianllmm/aklanon-stemmer","commit_stats":null,"previous_names":["andrianllmm/aklanon-stemmer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrianllmm%2Faklanon-stemmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrianllmm%2Faklanon-stemmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrianllmm%2Faklanon-stemmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrianllmm%2Faklanon-stemmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrianllmm","download_url":"https://codeload.github.com/andrianllmm/aklanon-stemmer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240113062,"owners_count":19749731,"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":["aklanon","language-processing","nlp","stemmer"],"created_at":"2024-11-08T23:52:03.858Z","updated_at":"2025-10-26T15:11:48.624Z","avatar_url":"https://github.com/andrianllmm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AklStemmer\n\n**A Python library for Aklanon word stemming**\n\n## About\n\nAklStemmer is a library that finds the root form of\n\u003ca href=\"https://www.ethnologue.com/language/akl\" target=\"_blank\"\u003eAklanon\u003c/a\u003e\nwords. It works on inflected words, even those with mixed Aklanon-English terms\nor those not found in dictionaries. It removes affixes, reduces repeated\nsyllables, and applies transformation rules to find possible root forms. These\nare filtered using a list of valid words and conditions. The best root is then\nchosen based on how much was changed during the process.\n\n## Installation\n\n```sh\npip install git+https://github.com/andrianllmm/aklanon-stemmer.git@main\n```\n\n## Usage\n\nAklStemmer acts as a standalone library that can be imported via\n`from aklstemmer import stemmer`.\n\nUse `get_stem` to get the root of a word. This takes a word and returns its stem\nas a `Stem` object (basically a string with affixes, reduplication,\ntransformations, etc. as additional attributes).\n\n```python\nstem = stemmer.get_stem(\"nagsueat\")\nprint(stem)\n# Output: 'sueat'\n```\n\nSince `get_stem` returns a `Stem` object, the properties used in the stemming\nprocess can be accessed as attributes.\n\n```python\nprefix = stem.pre\nprint(prefix)\n# Output: 'nag'\n\nsuffix = stem.suf\nprint(suffix)\n# Output: None\n```\n\nUse `get_stems` to get the root of each word in a text. This takes a text and\nreturns the stem of each word as a list of `Stem` objects.\n\n```python\nstems = stemmer.get_stems(\"nagsueat, binasa, ag gision\")\nprint(stems)\n# Output: ['sueat', 'basa', 'at', 'gisi']\n```\n\nUse `get_stem_candidates` to get all the stem candidates of a word. This takes a\nword and returns the possible stems as a list of `Stem` objects. This is helpful\nfor loose checking considering candidate selection is not perfect.\n\n```python\ncandidates = stemmer.get_stem_candidates(\"bukot\")\nprint(candidates)\n# Output: ['bukot', 'buko', 'bukon']\n```\n\n## Accuracy\n\nThe accuracy hasn't been tested yet.\n\n## Contributing\n\nContributions are welcome! To get started:\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a pull request\n\n## Issues\n\nFound a bug or issue? Report it on the\n[issues page](https://github.com/andrianllmm/aklanon-stemmer/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrianllmm%2Faklanon-stemmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrianllmm%2Faklanon-stemmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrianllmm%2Faklanon-stemmer/lists"}