PHPackages                             yeremi/stopwords - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. yeremi/stopwords

ActiveLibrary[Search &amp; Filtering](/categories/search)

yeremi/stopwords
================

Stopwords is a lightweight and efficient PHP library designed to simplify Natural Language Processing (NLP) tasks.

v2.0.0(1y ago)0151MITPHPPHP ^8.2

Since Oct 4Pushed 1y agoCompare

[ Source](https://github.com/yeremi/stopwords)[ Packagist](https://packagist.org/packages/yeremi/stopwords)[ Docs](https://github.com/yeremi/stopwords)[ GitHub Sponsors](https://github.com/yeremi)[ Patreon](https://www.patreon.com/YeremiLoli)[ RSS](/packages/yeremi-stopwords/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

Stopwords
=========

[](#stopwords)

### A PHP Library for Managing Stopwords

[](#a-php-library-for-managing-stopwords)

**Stopwords** is a lightweight and efficient PHP library designed to simplify Natural Language Processing (NLP) tasks. By default, it includes a comprehensive list of 508 stopwords in Portuguese, categorized into:

- Pronouns
- Numerals
- Temporal terms
- Locative terms
- Prepositions
- Conjunctions
- Articles
- Adverbs
- Interjections
- Contractions
- Miscellaneous terms

The library is highly flexible and can be extended to include stopword dictionaries for other languages, making it a versatile tool for a wide range of text processing needs.

Leverage **Stopwords** to streamline text processing, enhance SEO strategies, and improve accuracy in text-based applications.

Table of Contents
-----------------

[](#table-of-contents)

1. [Key Features](#key-features)
2. [Installation](#installation)
3. [How to use](/docs)
    1. [Basic Examples](/docs/how-to-use)
    2. [Creating Custom Dictionary](/docs/creating-dictionary.md)
    3. [Migration v1 to v2](/docs/mirgation-v1-to-v2.md)
4. [Contributing](#contributing)
5. [License](#license)

**Key Features**
----------------

[](#key-features)

1. **NLP Optimization:** Efficiently filter out common stopwords, saving processing time and enhancing text analysis.
2. **SEO Utility:** Reduce irrelevant data during search engine crawling or indexing, improving website performance.
3. **Customizable:** Easily extend or modify stopword lists to suit specific project requirements.
4. **Composer-Ready:** Quickly integrate the library into your project using Composer.

Installation
------------

[](#installation)

Add the library to your project using Composer:

```
composer require yeremi/stopwords
```

Contributing
------------

[](#contributing)

Contributions are welcome! If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License
-------

[](#license)

Stopwords is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~883 days

Total

4

Last Release

495d ago

Major Versions

v1.1.0 → v2.0.02025-01-05

PHP version history (4 changes)v1.0.0PHP ^5.3.3 || ^7.0

1.0.1PHP ^7.0

v1.1.0PHP ^7.0 || ^8.0 || ^8.1 || ^8.2

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e70fd65b778a9e9dde98c0e377004ff4b8b06759c90cffb21425102627ad7df?d=identicon)[Yeremi](/maintainers/Yeremi)

---

Top Contributors

[![yeremi](https://avatars.githubusercontent.com/u/744184?v=4)](https://github.com/yeremi "yeremi (36 commits)")

---

Tags

elasticsearchextract-informationfulltext-searchindexing-queryingnatural-language-processingphpportuguesesearch-enginesnowballstemmingstopstop-wordsstopwordselasticsearchfilternlpseostemmingstopwordsportuguesesnowballsearchengine

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yeremi-stopwords/health.svg)

```
[![Health](https://phpackages.com/badges/yeremi-stopwords/health.svg)](https://phpackages.com/packages/yeremi-stopwords)
```

###  Alternatives

[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k178.3M943](/packages/elasticsearch-elasticsearch)[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k261.7M7](/packages/clue-stream-filter)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[laminas/laminas-filter

Programmatically filter and normalize data and files

9428.0M150](/packages/laminas-laminas-filter)[michaeljennings/laralastica

A laravel package that allows you to search eloquent results using elasticsearch.

102.9k](/packages/michaeljennings-laralastica)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
