Caution
normalize command is the experimental feature. This command may be changed in the future.
normalize command normalizes text by the specified normalizer.
There is no need to create table to use normalize command. It is usefull for you to check the results of normalizer.
normalize commands takes two parameters - normalizer and string. Both of them are required.
normalize normalizer string
Here is a simple example of normalize command.
Execution example:
normalize NormalizerAuto "aBcDe 123"
# [[0, 1337566253.89858, 0.000355720520019531], "abcde 123"]
This section describes parameters of normalizer.
There are required parameters, normalizer and string.
It specifies the name of normalizer. Currently, normalize command accepts NormalizerAuto or NormalizerNFKC51 as built-in normalizer. If you want to try another normalizer, you need to register additional normalizer plugin by register command.
It specifies any string which you want to normalize.
[HEADER, normalized]
HEADER
The format of HEADER is [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME]. See Output format about HEADER.
normalized
normalized is the normalized text by the specified normalizer.