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

11 lines
434 B
ReStructuredText
Raw Normal View History

2022-06-22 10:46:33 +08:00
mindspore.dataset.text.CaseFold
===============================
2022-02-14 14:34:37 +08:00
2022-06-22 10:46:33 +08:00
.. py:class:: mindspore.dataset.text.CaseFold()
2022-02-14 14:34:37 +08:00
2022-03-26 21:10:33 +08:00
将UTF-8编码字符串中的字符规范化为小写相比 :func:`str.lower` 支持更多字符。
支持的输入规范化形式详见 `ICU_Normalizer2 <https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Normalizer2.html>`_
.. note:: Windows平台尚不支持 `CaseFold`