PHP Classes
elePHPant
Icontem

PHP Get All Words: Extract all words from string excluding stop words

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-04-17 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 312 All time: 6,889 This week: 1,099Up
Version License PHP version Categories
get-words 1.0.0GNU General Publi...5PHP 5, Text processing
Description Author

This class can extract all words from string excluding stop words.

It can take a given text string and extracts the list of all words it contains to a array.

An optional list of stop words may be provided to be excluded from the list of words to return.

The class may lower the case of the words to consider words with upper and lower case letters the same.

Recommendations

Get all words in sentence
Some class to get all of words in sentence

Innovation Award
PHP Programming Innovation award nominee
April 2016
Number 13


Prize: One ebook of choice by Packt
PHP provides an extensive set of functions to manipulate text strings including several ways to split a string into its words.

However, there is no built-in way to detect and exclude stop words.

This class can extract the words of a text excluding stop words. I can also consider words that may appear duplicated but with different case.

Manuel Lemos
Picture of Lionel F. Lebeau
  Performance   Level  
Name: Lionel F. Lebeau <contact>
Classes: 4 packages by
Country: France France
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Examples.php Example Examples
Plain text file get_words.php Class class to get words

 Version Control Unique User Downloads Download Rankings  
 0%
Total:312
This week:0
All time:6,889
This week:1,099Up