Simple Rust library to extract readable text from specific document format like Word Document (docx). Currently only support several format, other format coming soon.
rust
let mut file = Docx::open("samples/sample.docx").unwrap();
let mut isi = String::new();
let _ = file.read_to_string(&mut isi);
println!("CONTENT:");
println!("----------BEGIN----------");
println!("{}", isi);
println!("----------EOF----------");
bash
$ cargo test
or run example:
bash
$ cargo run --example readdocx data/sample.docx
[] Robin Sy.