{"id":21740535,"url":"https://github.com/writecrow/lemmatizer","last_synced_at":"2025-10-13T09:06:45.054Z","repository":{"id":57082495,"uuid":"129975213","full_name":"writecrow/lemmatizer","owner":"writecrow","description":"A PHP library for getting a lemma from a given word, and getting a list of words that map to a lemma.","archived":false,"fork":false,"pushed_at":"2019-11-08T03:50:18.000Z","size":1304,"stargazers_count":13,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-26T00:50:34.299Z","etag":null,"topics":["lemma","lemmatization","lemmatizer","natural-language-processing","php-library"],"latest_commit_sha":null,"homepage":"https://lemmatizer.markfullmer.com/","language":"PHP","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/writecrow.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}},"created_at":"2018-04-17T23:11:07.000Z","updated_at":"2025-05-12T19:55:10.000Z","dependencies_parsed_at":"2022-08-24T14:58:21.061Z","dependency_job_id":null,"html_url":"https://github.com/writecrow/lemmatizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/writecrow/lemmatizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writecrow%2Flemmatizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writecrow%2Flemmatizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writecrow%2Flemmatizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writecrow%2Flemmatizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writecrow","download_url":"https://codeload.github.com/writecrow/lemmatizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writecrow%2Flemmatizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014481,"owners_count":26085535,"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-13T02:00:06.723Z","response_time":61,"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":["lemma","lemmatization","lemmatizer","natural-language-processing","php-library"],"created_at":"2024-11-26T06:13:54.816Z","updated_at":"2025-10-13T09:06:45.026Z","avatar_url":"https://github.com/writecrow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lemmatizer\n\n[![Circle CI](https://circleci.com/gh/writecrow/lemmatizer.svg?style=shield)](https://circleci.com/gh/writecrow/lemmatizer)\n\nA PHP library for getting a lemma from a given word, and getting a list of words\nthat map to a lemma. This does NOT support part of speech specification.\n\n## Source data\nThis lemma dictionary is largely based on [WordNet](https://wordnet.princeton.edu/), a project maintained at Princeton University.\n\n## Demo\nSee the lemmatizer in action at https://lemmatizer.markfullmer.com/\n\n## Usage in an application\nThe included `index.php` file contains an interactive demo.\n\nMake your code aware of the Lemmatizer class via your favorite method\n(e.g., `use writecrow\\Lemmatizer\\Lemmatizer;`)\n\nThen pass a word into one of the two methods\n```php\nprint Lemmatizer::getLemma('leaves');\n// Will print 'leaf'\n\nprint Lemmatizer::getWordsFromLemma('leaf');\n// Will print 'leaves,leafing,leafed,leafs'\n```\n\n## Testing\nUnit Tests can be run (after ```composer install```) by executing ```vendor/bin/phpunit```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritecrow%2Flemmatizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwritecrow%2Flemmatizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritecrow%2Flemmatizer/lists"}