Text Normalizer#
Converts all the characters in a blob of text to the same case.
Interfaces: Transformer
Data Type Compatibility: Categorical
Note
This transformer does not handle multibyte strings. For multibyte support, see MultibyteTextNormalizer.
Parameters#
# | Name | Default | Type | Description |
---|---|---|---|---|
1 | uppercase | false | bool | Should the text be converted to uppercase? |
Example#
use Rubix\ML\Transformers\TextNormalizer;
$transformer = new TextNormalizer(false);
Additional Methods#
This transformer does not have any additional methods.
Last update:
2021-07-06