7 releases
0.2.2 | May 13, 2024 |
---|---|
0.2.1 | May 13, 2024 |
0.2.0 | Mar 25, 2023 |
0.1.3 | Mar 9, 2022 |
0.1.1 | Oct 7, 2020 |
#371 in Text processing
665 downloads per month
Used in 10 crates
(4 directly)
13KB
171 lines
Diacritics
This is a rust crate for removing diacritics from a string. It can be useful when wanting to standardize some material to make it easier to search, among other things.
Example
let string = "TÅRÖÄÆØ";
let new_string = diacritics::remove_diacritics(string);
assert_eq!("TAROAAO", new_string);
lib.rs
:
Used for removing diacritics from a string.
Examples
let new_string = diacritics::remove_diacritics("TÅRÖÄÆØ");
assert_eq!("TAROAAO", new_string);