PHP Classes

PHP Stop Words List: Get stop words for many different languages

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 224 All time: 8,231 This week: 206Up
Version License PHP version Categories
stop-words 1.1.5MIT/X Consortium ...5.3Localization, PHP 5, Text processing
Description 

Author

This class can get stop words for many different languages.

It takes a given language identifier and loads a list of known stop words for that language.

Currently it supports returning an array of stop words of the languages: Danish, German, English, Spanish, Finnish, French, Hungarian, Italian, Dutch, Norwegian, Portuguese, Russian, Slovenian and Turkish.

Innovation Award
PHP Programming Innovation award nominee
May 2017
Number 10
Stop words are words that often appear in sentence but may be considered irrelevant when you are analyzing the aspects of the sentence.

This class can return the list of stop words in many different languages.

Manuel Lemos
Picture of Lars Moelleken
  Performance   Level  
Innovation award
Innovation award
Nominee: 11x

Winner: 1x

 

Documentation

Build Status Coverage Status Scrutinizer Code Quality Codacy Badge SensioLabsInsight Latest Stable Version Total Downloads Latest Unstable Version License

Stop-Words

Description

A collection of stop words stop words in various languages for e.g. search-functions.

Installation

  1. Install and use composer in your project.
  2. Require this package via composer:
composer require voku/stop-words

Usage

$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 for the full history of changes.


  Files folder image Files (49)  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (2 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file circle.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file ISSUE_TEMPLATE.md Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file PULL_REQUEST_TEMPLATE.md Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Reuses Unique User Downloads Download Rankings  
 100%1
Total:224
This week:0
All time:8,231
This week:206Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1222