Function Fast_custom_index->get_stemmer
Definitions
sources/database_search.php
- Get a stemmer for a language.
- Visibility: public
- Is abstract?: No
- Is static?: Yes
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $lang | LANGUAGE_NAME | No | No | required parameter | N/A | N/A | Language codename |
Returns
- Stemmer (null: none)
- Type: ?object
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a stemmer for a language.
*
* @param LANGUAGE_NAME $lang Language codename
* @return ?object Stemmer (null: none)
*/
public static function get_stemmer(string $lang) : ?object
* Get a stemmer for a language.
*
* @param LANGUAGE_NAME $lang Language codename
* @return ?object Stemmer (null: none)
*/
public static function get_stemmer(string $lang) : ?object
