StemmerInterface

Stemmer interface.

since

1.4.0

Methods

stem

Method to stem a token and return the root.

stem(string $token, string $lang) : string
since

1.4.0

Arguments

$token

stringThe token to stem.

$lang

stringThe language of the token.

Response

stringThe root token.