Search_Stemmer_Ua
extends Search_Stemmer
in package
Implementation of the Porter Stemmer algorithm.
Tags
Table of Contents
Properties
- $instance : array<string|int, mixed>
- The singleton instances.
- $_config : array<string|int, mixed>
- Config
Methods
- __construct() : mixed
- instance() : mixed
- Get instance of class
- stem() : string
- Определение основы слова
- _getDriverName() : string
- Get full driver name
Properties
$instance
The singleton instances.
public
static array<string|int, mixed>
$instance
= array()
$_config
Config
protected
array<string|int, mixed>
$_config
= array()
Tags
Methods
__construct()
public
__construct() : mixed
instance()
Get instance of class
public
static instance(string $name) : mixed
Parameters
- $name : string
-
class name
stem()
Определение основы слова
public
stem(string $word) : string
Parameters
- $word : string
-
слово
Return values
string —основа слова
_getDriverName()
Get full driver name
protected
static _getDriverName(string $driver) : string
Parameters
- $driver : string
-
driver name