7 个版本
0.2.2 | 2024年5月13日 |
---|---|
0.2.1 | 2024年5月13日 |
0.2.0 | 2023年3月25日 |
0.1.3 | 2022年3月9日 |
0.1.1 | 2020年10月7日 |
404 在 文本处理
784 每月下载量
用于 9 个 crate (3 直接)
13KB
171 行
变音符号
这是一个用于从字符串中移除变音符号的 Rust crate。当需要标准化某些材料以使其更容易搜索时,它可能很有用。
示例
let string = "TÅRÖÄÆØ";
let new_string = diacritics::remove_diacritics(string);
assert_eq!("TAROAAO", new_string);
lib.rs
:
用于从字符串中移除变音符号。
示例
let new_string = diacritics::remove_diacritics("TÅRÖÄÆØ");
assert_eq!("TAROAAO", new_string);