\Camspiers\StatisticalClassifier\NormalizerStopword

Summary

Methods
Properties
Constants
__construct()
normalize()
No public properties found
No constants found
No protected methods found
$stopwords
N/A
No private methods found
No private properties found
N/A

Properties

$stopwords

$stopwords : array

An array of words to filter

Type

array

Methods

__construct()

__construct(array $stopwords)

Create the normalizer from an array of stopwords

Parameters

array $stopwords

The array of stopwords

normalize()

normalize(array $tokens)

{@inheritdoc}

Parameters

array $tokens