Overview

Namespaces

  • Composer
    • Autoload
  • Geekwright
    • RegDom
  • League
    • OAuth2
      • Client
        • Provider
  • None
  • Xmf
    • Database
    • Jwt
    • Key
    • Module
      • Helper

Classes

  • Assert
  • Debug
  • FilterInput
  • Highlighter
  • IPAddress
  • Language
  • Metagen
  • Random
  • Request
  • StopWords
  • Yaml
  • Overview
  • Namespace
  • Class
  • Tree

Class StopWords

StopWords - facilitate filtering of common or purely connective words for natural language processing

Namespace: Xmf
Package: Xmf
Category: Xmf\StopWords
Copyright: 2011-2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Author: trabis lusopoemas@gmail.com
See: https://en.wikipedia.org/wiki/Stop_words
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/StopWords.php
Methods summary
public
# __construct( )

StopWords constructor - load stop words for current locale

StopWords constructor - load stop words for current locale

public boolean
# check( string $key )

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

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

Parameters

$key
the word to check

Returns

boolean
True if word is significant, false if it is a stop word
Constants summary
string ENCODING

mbstring encoding

mbstring encoding

# 'UTF-8'
Properties summary
protected string[] $stopwordList
# array()
API documentation generated by ApiGen