PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (49)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-11-24 (23 hours ago) RSS 2.0 feedStarStarStarStar 60%Total: 182 This week: 12All time: 8,319 This week: 33Up
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
  Performance   Level  
Innovation award
Innovation award
Nominee: 8x

Details

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  
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

 Version Control Reuses Unique User Downloads Download Rankings  
 100%1
Total:182
This week:12
All time:8,319
This week:33Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1319