%PDF- %PDF-
| Direktori : /home/graphicd/public_html/vebto/vendor/axisofstevil/stop-words/ |
| Current File : /home/graphicd/public_html/vebto/vendor/axisofstevil/stop-words/README.md |
# Stop Words
[](https://github.com/axisofstevil/stop-words/releases)
[](LICENSE.md)
[](https://travis-ci.org/axisofstevil/stop-words)
[](https://scrutinizer-ci.com/g/axisofstevil/stop-words/code-structure)
[](https://scrutinizer-ci.com/g/axisofstevil/stop-words)
[](https://packagist.org/packages/axisofstevil/stop-words)
This library is intended to help filter your text with common stop words. It includes a list of built-in basic and strict stop words. It also includes functionality that lets you merge or overwrite with your own list of words.
## Install
Via Composer
``` bash
$ composer require axisofstevil/stop-words
```
## Usage
``` php
$filter = new Axisofstevil\StopWords\Filter();
echo $filter->cleanText('A Walk to Remember'); // 'Walk Remember'
$filter->setWords(array('a','walk','to'));
echo $filter->cleanText('A Walk to Remember'); // 'Remember'
$filter->mergeWords(array('remember'));
echo $filter->cleanText('A Walk to Remember'); // ''
```
## Testing
``` bash
$ phpunit
```
## Contributing
Please see [CONTRIBUTING](https://github.com/axisofstevil/stop-words/blob/master/CONTRIBUTING.md) for details.
## Credits
- [Steven Maguire](https://github.com/stevenmaguire)
- [All Contributors](https://github.com/axisofstevil/stop-words/contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.