mindspore/docs/api/api_python/dataset_text/mindspore.dataset.text.Case...

11 lines
434 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.dataset.text.CaseFold
===============================
.. py:class:: mindspore.dataset.text.CaseFold()
将UTF-8编码字符串中的字符规范化为小写相比 :code:`str.lower` 支持更多字符。
支持的输入规范化形式详见 `ICU_Normalizer2 <https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Normalizer2.html>`_
.. note:: Windows平台尚不支持 `CaseFold`