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,230 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  
Name: Lars Moelleken <contact>
Classes: 25 packages by
Country: Germany Germany
Age: 36
All time rank: 62140 in Germany Germany
Week rank: 22 Up2 in Germany Germany Up
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

  Files folder image Files (49)  /  src  
File Role Description
Files folder imagevoku (1 directory)

  Files folder image Files (49)  /  src  /  voku  
File Role Description
Files folder imagehelper (2 files, 1 directory)

  Files folder image Files (49)  /  src  /  voku  /  helper  
File Role Description
Files folder imagestopwords (32 files)
  Plain text file StopWords.php Class Class source
  Plain text file StopWordsLanguageNotExists.php Class Class source

  Files folder image Files (49)  /  src  /  voku  /  helper  /  stopwords  
File Role Description
  Accessible without login Plain text file ar.php Aux. Auxiliary script
  Accessible without login Plain text file bg.php Aux. Auxiliary script
  Accessible without login Plain text file ca.php Aux. Auxiliary script
  Accessible without login Plain text file cz.php Aux. Auxiliary script
  Accessible without login Plain text file da.php Aux. Auxiliary script
  Accessible without login Plain text file de.php Aux. Auxiliary script
  Accessible without login Plain text file el.php Aux. Auxiliary script
  Accessible without login Plain text file en.php Aux. Auxiliary script
  Accessible without login Plain text file eo.php Aux. Auxiliary script
  Accessible without login Plain text file es.php Aux. Auxiliary script
  Accessible without login Plain text file et.php Aux. Auxiliary script
  Accessible without login Plain text file fi.php Aux. Auxiliary script
  Accessible without login Plain text file fr.php Aux. Auxiliary script
  Accessible without login Plain text file hi.php Aux. Auxiliary script
  Accessible without login Plain text file hr.php Aux. Auxiliary script
  Accessible without login Plain text file hu.php Aux. Auxiliary script
  Accessible without login Plain text file id.php Aux. Auxiliary script
  Accessible without login Plain text file it.php Aux. Auxiliary script
  Accessible without login Plain text file ka.php Aux. Auxiliary script
  Accessible without login Plain text file lt.php Aux. Auxiliary script
  Accessible without login Plain text file lv.php Aux. Auxiliary script
  Accessible without login Plain text file nl.php Aux. Auxiliary script
  Accessible without login Plain text file no.php Aux. Auxiliary script
  Accessible without login Plain text file pl.php Aux. Auxiliary script
  Accessible without login Plain text file pt.php Aux. Auxiliary script
  Accessible without login Plain text file ro.php Aux. Auxiliary script
  Accessible without login Plain text file ru.php Aux. Auxiliary script
  Accessible without login Plain text file sk.php Aux. Auxiliary script
  Accessible without login Plain text file sv.php Aux. Auxiliary script
  Accessible without login Plain text file tr.php Aux. Auxiliary script
  Accessible without login Plain text file uk.php Aux. Auxiliary script
  Accessible without login Plain text file vi.php Aux. Auxiliary script

  Files folder image Files (49)  /  tests  
File Role Description
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script
  Plain text file StopWordsTest.php Class Class source

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,230
This week:206Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1215