mindspore.dataset.text.NormalizeForm
- class mindspore.dataset.text.NormalizeForm[source]
Enumeration class for Unicode normalization forms .
Possible enumeration values are: NormalizeForm.NONE, NormalizeForm.NFC, NormalizeForm.NFKC, NormalizeForm.NFD and NormalizeForm.NFKD.
NormalizeForm.NONE: no normalization.
NormalizeForm.NFC: Canonical Decomposition, followed by Canonical Composition.
NormalizeForm.NFKC: Compatibility Decomposition, followed by Canonical Composition.
NormalizeForm.NFD: Canonical Decomposition.
NormalizeForm.NFKD: Compatibility Decomposition.