Phpml\FeatureExtraction\StopWords::__construct PHP Метод

__construct() публичный Метод

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

Usage Example

Пример #1
0
 public function __construct()
 {
     parent::__construct($this->stopWords);
 }