Crates.io | tb_normalization |
lib.rs | tb_normalization |
version | 1.0.0 |
source | src |
created_at | 2021-02-01 16:56:12.637738 |
updated_at | 2021-02-01 17:11:36.370705 |
description | A library for normalization utf8 string, loc dau vietnamese and some language |
homepage | https://github.com/buminta/utf8-normalization/ |
repository | https://github.com/buminta/utf8-normalization.git |
max_upload_size | |
id | 349331 |
size | 8,026 |
extern crate tb_normalization;
use tb_normalization::unicode::TbNormalization;
fn main() {
let s = "số 22 ngách 63/30/16 lê đức thọ , mỹ đình 2 Được chưa nhỉ --";
println!("{}", s.tb_normalization());
println!("{}", s.remove_special_characters());
}