mindspore.dataset.text.NormalizeForm

class mindspore.dataset.text.NormalizeForm[source]

Unicode normalization forms .

Available values are as follows:

  • 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.