PHP Class Sastrawi\Stemmer\CachedStemmer

Inheritance: implements Sastrawi\Stemmer\StemmerInterface
显示文件 Open project: sastrawi/sastrawi

Protected Properties

Property Type Description
$cache
$delegatedStemmer

Public Methods

Method Description
__construct ( Sastrawi\Stemmer\Cache\CacheInterface $cache, Sastrawi\Stemmer\StemmerInterface $delegatedStemmer )
getCache ( )
getDelegatedStemmer ( )
stem ( $text )

Method Details

__construct() public method

public __construct ( Sastrawi\Stemmer\Cache\CacheInterface $cache, Sastrawi\Stemmer\StemmerInterface $delegatedStemmer )
$cache Sastrawi\Stemmer\Cache\CacheInterface
$delegatedStemmer Sastrawi\Stemmer\StemmerInterface

getCache() public method

public getCache ( )

getDelegatedStemmer() public method

public getDelegatedStemmer ( )

stem() public method

public stem ( $text )

Property Details

$cache protected_oe property

protected $cache

$delegatedStemmer protected_oe property

protected $delegatedStemmer