API - XOOPS 2.5.11 Beta 2
By monxoops.fr
StopWords Class Reference

Public Member Functions

 __construct ()
 check ($key)

Data Fields

const ENCODING = 'UTF-8'

Protected Attributes

 $stopwordList = array()

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

StopWords constructor - load stop words for current locale

specify locale to constructor, will require shift away from defined constant

Member Function Documentation

◆ check()

check (   $key)

check - look up a word in a list of stop words and classify it as a significant word or a stop word.

string$keythe word to check
bool True if word is significant, false if it is a stop word

Field Documentation

◆ $stopwordList

$stopwordList = array()


const ENCODING = 'UTF-8'

mbstring encoding

The documentation for this class was generated from the following file: