[source]

Stop Word Filter#

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

Interfaces: Transformer

Data Type Compatibility: Categorical

Parameters#

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

Additional Methods#

This transformer does not have any additional methods.

Example#

use Rubix\ML\Transformers\StopWordFilter;

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