摘要: 一,安装第三方库 $ pip install unidecode 二,代码: import unidecode def latin_to_ascii(text): return unidecode.unidecode(text) # 示例 text = "â é ë ó ñ" # 德语示例 asci 阅读全文
posted @ 2025-12-04 19:30 刘宏缔的架构森林 阅读(2) 评论(0) 推荐(0)