Source

Text Normalizer#

This transformer converts all text to lowercase and optionally removes extra whitespace.

Interfaces: Transformer

Data Type Compatibility: Categorical

Parameters#

# Param Default Type Description
1 trim false bool Should we trim excess whitespace?

Additional Methods#

This transformer does not have any additional methods.

Example#

use Rubix\ML\Transformers\TextNormalizer;

$transformer = new TextNormalizer(true);