Phpml\FeatureExtraction\StopWords::__construct PHP Method

__construct() public method

public __construct ( array $stopWords )
$stopWords array
    public function __construct(array $stopWords)
    {
        $this->stopWords = array_fill_keys($stopWords, true);
    }

Usage Example

示例#1
0
文件: Polish.php 项目: php-ai/php-ml
 public function __construct()
 {
     parent::__construct($this->stopWords);
 }