StopWords for Portuguese Brazilian Language / PT-BR

PHP client StopWords for Portuguese Brazilian Language

One of our major performance optimizations for query is filtering and removing the most unless common Portuguese dictionary words before submitting queries to the database full text engine. It's shocking to see what happens when you remove the empty words from the Portuguese dictionary.

This StopWord contains a collection of 603 "stop words" that helps filter and narrow query results by running a query dramatically faster.

You can also use stop words in SEO to avoid search engines, saving space and time in processing large data during crawling or indexing.


To run this project, install it locally using Composer by adding the following in your composer.json file:

  "require": {
    "yeremi/stopwords": "*"

then run the installation by executing: composer install


Use autoloading to make the client available in your PHP project:


Usage example

$string = 'put your long text here';
$output_array = Yeremi\StopWords::stop($string);



Copyright (c) 2017 Yeremi Loli This software is licensed under the GNU General Public License v3.0. View the license.