mindspore.dataset.text.transforms.CaseFold

class mindspore.dataset.text.transforms.CaseFold[source]

Apply case fold operation on UTF-8 string tensor, which is aggressive that can convert more characters into lower case.

Note

CaseFold is not supported on Windows platform yet.

Examples

>>> case_op = text.CaseFold()
>>> text_file_dataset = text_file_dataset.map(operations=case_op)