Skip to content

[source]

Stop Word Filter#

Removes user-specified words from any categorical feature columns including blobs of text.

Interfaces: Transformer

Data Type Compatibility: Categorical

Parameters#

# Name Default Type Description
1 stopWords array A list of stop words to filter out of each text feature.

Example#

use Rubix\ML\Transformers\StopWordFilter;

$transformer = new StopWordFilter(['i', 'me', 'my', ...]);

Additional Methods#

This transformer does not have any additional methods.


Last update: 2021-01-23