\JLanguageStemmer
Stemmer base class.
Synopsis
class JLanguageStemmer
{
- // members
- protected $cache;
- protected $instances;
- // methods
- public static JLanguageStemmer getInstance()
- public abstract string stem()
Hierarchy
Extended by
Members
protected
- $cache
—
array
An internal cache of stemmed tokens. - $instances — array
Methods
public
- getInstance() — Method to get a stemmer, creating it if necessary.
- stem() — Method to stem a token and return the root.