{"id":15107674,"url":"https://github.com/pharo-ai/stopwords","last_synced_at":"2026-02-13T10:58:02.784Z","repository":{"id":71141541,"uuid":"333577169","full_name":"pharo-ai/stopwords","owner":"pharo-ai","description":"Load the stopwords that you need in Pharo","archived":false,"fork":false,"pushed_at":"2021-02-24T00:07:32.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-02T06:33:13.530Z","etag":null,"topics":["nlp","nlp-machine-learning","pharo","pharo-smalltalk","stopwords","tf-idf"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","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/pharo-ai.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":"2021-01-27T22:26:21.000Z","updated_at":"2022-08-17T00:26:25.000Z","dependencies_parsed_at":"2024-03-17T13:30:26.810Z","dependency_job_id":null,"html_url":"https://github.com/pharo-ai/stopwords","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"f61470921fc4a96481305fac5142a007533c22ed"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pharo-ai/stopwords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-ai%2Fstopwords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-ai%2Fstopwords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-ai%2Fstopwords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-ai%2Fstopwords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pharo-ai","download_url":"https://codeload.github.com/pharo-ai/stopwords/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-ai%2Fstopwords/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273244306,"owners_count":25070958,"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-09-02T02:00:09.530Z","response_time":77,"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":["nlp","nlp-machine-learning","pharo","pharo-smalltalk","stopwords","tf-idf"],"created_at":"2024-09-25T21:40:57.574Z","updated_at":"2026-02-13T10:57:57.760Z","avatar_url":"https://github.com/pharo-ai.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nLoad the stopwords that you need in Pharo\n\n## Installation\n\n```smalltalk\nMetacello new\n  baseline: 'AIStopwords';\n  repository: 'github://pharo-ai/stopwords/src';\n  load.\n```\n\n## How to depend on it?\n\nIf you want to add a dependency on stopwords to your project, include the following lines into your baseline method:\n\n```Smalltalk\nspec\n  baseline: 'AIStopwords'\n  with: [ spec repository: 'github://pharo-ai/stopwords/src' ].\n```\n\nIf you are new to baselines and Metacello, check out the [Baselines](https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md) tutorial on Pharo Wiki.\n\n## How to use it?\n\n### Explore available stopwords \n\nYou can use the class façade to quickly obtain a stop word Collection. It supports multiple stopwords repositories (implemented as subclasses), but a default list is automatically configured. Users could get a list of stop words for a language, you can use the pattern:\n\n```smalltalk\nAIStopwords for\u003cLanguage\u003e.\n```\n\nfor example:\n\n```smalltalk\nAIStopwords forEnglish.\nAIStopwords forSpanish.\nAIStopwords forFrench.\n```\n\nTo change the default stopword class for a language:\n\n```smalltalk\nAIStopwordsEnglish defaultStopwordClass: aClass.\n```\n\nStopwords list were collected from https://github.com/igorbrigadir/stopwords\n\n### Check for stopwords\n\nExample of usage:\n\n```smalltalk\n'This is Ground Control to Major Tom' removeStopwordsUsing: AIStopwords forEnglish\n```\n\nwill answer a Collection without the stopwords:\n\n```smalltalk\n#('Ground' 'Control' 'Major' 'Tom')\n```\n\n### Add your stopwords to a list\n\nStopwords now can be augmented with #addStopword: and #addStopwords:\n\n```smalltalk\nAIStopwordsEngCoreNLP new addStopword: 'myStopword'.\nAIStopwordsEngLuceneSolr new addStopwords: #('stopword1' 'stopword2').\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-ai%2Fstopwords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpharo-ai%2Fstopwords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-ai%2Fstopwords/lists"}