1
2
3
4
5
6
7
8
9
10
11
12
use ar_reshaper::ArabicReshaper;

fn main() {
    let mut reshaper = ArabicReshaper::default();

    // we can modify config after creating `ArabicReshaper`
    reshaper.modify_config(|c| {
        c.delete_harakat = true;
    });

    println!("{}", reshaper.reshape("ههه"));
}