74 lines
2.4 KiB
Markdown
Executable File
74 lines
2.4 KiB
Markdown
Executable File
[](https://travis-ci.org/voku/stop-words)
|
|
[](https://coveralls.io/github/voku/stop-words?branch=master)
|
|
[](https://scrutinizer-ci.com/g/voku/stop-words/?branch=master)
|
|
[](https://www.codacy.com/app/voku/stop-words?utm_source=github.com&utm_medium=referral&utm_content=voku/stop-words&utm_campaign=Badge_Grade)
|
|
[](https://insight.sensiolabs.com/projects/316837f1-afb0-4ea5-938e-340527eeb4e6)
|
|
[](https://packagist.org/packages/voku/stop-words)
|
|
[](https://packagist.org/packages/voku/stop-words)
|
|
[](https://packagist.org/packages/voku/stop-words)
|
|
[](https://packagist.org/packages/voku/stop-words)
|
|
|
|
# Stop-Words
|
|
|
|
## Description
|
|
|
|
A collection of stop words stop words in various languages for e.g. search-functions.
|
|
|
|
* [Installation](#installation)
|
|
* [Usage](#usage)
|
|
* [History](#history)
|
|
|
|
## Installation
|
|
|
|
1. Install and use [composer](https://getcomposer.org/doc/00-intro.md) in your project.
|
|
2. Require this package via composer:
|
|
|
|
```sh
|
|
composer require voku/stop-words
|
|
```
|
|
|
|
## Usage
|
|
|
|
```php
|
|
$stopWords = new StopWords();
|
|
$stopWords->getStopWordsFromLanguage('de');
|
|
```
|
|
|
|
Available languages
|
|
-------------------
|
|
* Arabic (ar)
|
|
* Bulgarian (bg)
|
|
* Catalan (ca)
|
|
* Croatian (hr)
|
|
* Czech (cz)
|
|
* Danish (da)
|
|
* Dutch (nl)
|
|
* English (en)
|
|
* Esperanto (eo)
|
|
* Estonian (et)
|
|
* Finnish (fi)
|
|
* French (fr)
|
|
* Georgian (ka)
|
|
* German (de)
|
|
* Greek (el)
|
|
* Hindi (hi)
|
|
* Hungarian (hu)
|
|
* Indonesian (id)
|
|
* Italian (it)
|
|
* Latvian (lv)
|
|
* Lithuanian (lt)
|
|
* Norwegian (no)
|
|
* Polish (pl)
|
|
* Portuguese (pt)
|
|
* Romanian (ro)
|
|
* Russian (ru)
|
|
* Slovak (sk)
|
|
* Spanish (es)
|
|
* Swedish (sv)
|
|
* Turkish (tr)
|
|
* Ukrainian (uk)
|
|
* Vietnamese (vi)
|
|
|
|
## History
|
|
See [CHANGELOG](CHANGELOG.md) for the full history of changes.
|