Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence de la classe FinderIndexerStemmerFr
+ Graphe d'héritage de FinderIndexerStemmerFr:

Fonctions membres publiques

 stem ($token, $lang)
 
- Fonctions membres publiques hérités de FinderIndexerStemmer
 stem ($token, $lang)
 

Fonctions membres protégées statiques

static getStemRules ()
 

Fonctions membres privées statiques

static getFirstRule ($reversedInput, $ruleNumber)
 
static check ($reversedStem)
 
static getStem ($input)
 

Attributs privés statiques

static $stemRules
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de FinderIndexerStemmer
static getInstance ($adapter)
 
- Champs de données hérités de FinderIndexerStemmer
 $cache = array()
 

Description détaillée

French stemmer class for Smart Search indexer.

First contributed by Eric Sanou (bobot.nosp@m.che@.nosp@m.hotma.nosp@m.il.f.nosp@m.r) This class is inspired in Alexis Ulrich's French stemmer code (http://alx2002.free.fr)

Depuis
3.0

Documentation des fonctions membres

◆ check()

static check (   $reversedStem)
staticprivate

Check the acceptability of a stem for French language

Paramètres
string$reversedStemThe stem to check in reverse form
Renvoie
boolean True if stem is acceptable
Depuis
3.0

◆ getFirstRule()

static getFirstRule (   $reversedInput,
  $ruleNumber 
)
staticprivate

Returns the number of the first rule from the rule number that can be applied to the given reversed input. returns -1 if no rule can be applied, ie the stem has been found

Paramètres
string$reversedInputThe input to check in reversed order
integer$ruleNumberThe rule number to check
Renvoie
integer Number of the first rule
Depuis
3.0

Références $i.

◆ getStem()

static getStem (   $input)
staticprivate

Paice/Husk stemmer which returns a stem for the given $input

Paramètres
string$inputThe word for which we want the stem in UTF-8
Renvoie
string The stem
Depuis
3.0

Références $input.

◆ getStemRules()

static getStemRules ( )
staticprotected

French stemmer rules variables.

Renvoie
array The rules
Depuis
3.0

◆ stem()

stem (   $token,
  $lang 
)

Method to stem a token and return the root.

Paramètres
string$tokenThe token to stem.
string$langThe language of the token.
Renvoie
string The root token.
Depuis
3.0

Références $lang.

Documentation des champs

◆ $stemRules

$stemRules
staticprivate

La documentation de cette classe a été générée à partir du fichier suivant :