{"id":20434027,"url":"https://github.com/zewa666/redbean_german_porterstemmer","last_synced_at":"2025-10-30T10:16:02.779Z","repository":{"id":11600928,"uuid":"14093201","full_name":"zewa666/RedBean_German_PorterStemmer","owner":"zewa666","description":"German Porter Stemmer search plugin for the RedBeanORM","archived":false,"fork":false,"pushed_at":"2013-11-03T20:50:27.000Z","size":180,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T19:23:04.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/zewa666.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}},"created_at":"2013-11-03T20:46:29.000Z","updated_at":"2019-04-23T07:51:59.000Z","dependencies_parsed_at":"2022-09-19T11:21:35.563Z","dependency_job_id":null,"html_url":"https://github.com/zewa666/RedBean_German_PorterStemmer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewa666%2FRedBean_German_PorterStemmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewa666%2FRedBean_German_PorterStemmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewa666%2FRedBean_German_PorterStemmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewa666%2FRedBean_German_PorterStemmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zewa666","download_url":"https://codeload.github.com/zewa666/RedBean_German_PorterStemmer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241976665,"owners_count":20051686,"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-15T08:23:27.466Z","updated_at":"2025-10-30T10:15:57.742Z","avatar_url":"https://github.com/zewa666.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"RedBean German Porter Stemmer plugin\n=======================\n\nThis is a plugin for the [RedBeanPHP ORM](http://www.redbeanphp.com/), which\nis performing the german [Porter Stemmer algorithm](http://en.wikipedia.org/wiki/Stemming)\nand using the root form of the stemmed word to issue a search on a specific Bean property.\n\nPlease note as the name says it's for german language. Implementations for other languages\nare not planned by this project.\n\nThe algorithm is based on the [Drupal Plugin by Reiner Miericke](https://drupal.org/project/de_stemmer)\n\nCurrent status:\nSeems to work :)\n\n\nUsage / Examples:\n=======================\n\n- Download the latest version of [RedBean from Github](https://github.com/gabordemooij/redbean) or\n  install via Composer.\n- Add the file RedBean_German_PorterStemmer.php to the RedBean/Plugin folder\n- Either manually require the file or see the [RedBean instructions](http://www.redbeanphp.com/replica) for building your on RB.php file\n\nThere are two things you can do with the plugin. First just get a stemmed version of a word\nby doing the following:\n\n```php\n   R::stem(\"YOUR SEARCH PHRASE\");\n```\n\nNote that the search phrase may consist of several words and the module will provide you\nthe stems of each of them. The return value is an associative array with the original word as key\nand the stemmed version as value.\n\n```php\n   R::stem(\"neuerliche Ausschreitungen\");\n\n   array\n    'neuerliche' =\u003e string 'neuer' (length=5)\n    'Ausschreitungen' =\u003e string 'ausschreit' (length=10)\n```\nThe other feature and actually the main idea, is to provide a facetted search via stems.\nThis is done by using the following function:\n\n```php\n   R::stemmedSearch(\"YOUR SEARCH PHRASE\");\n```\n\nTake a look at the included example.php for a detailed example\n\nStopwords and exception:\n=======================\nYou can also define your custom stopwords and exceptions which won't get stemmed\nor respect the exception. To modify those simply open the file data.inc and\npopulate the arrays with your values.\n\nDefaults are already included\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewa666%2Fredbean_german_porterstemmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzewa666%2Fredbean_german_porterstemmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewa666%2Fredbean_german_porterstemmer/lists"}