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

Example #1
0
 public function __construct()
 {
     parent::__construct($this->stopWords);
 }