1 2 3 4 5 6 7 8
use kodict::{crawler, fs}; use std::path::Path; fn main() { let words = crawler::get_standard_dictionary_words(); fs::write_as_tsv(Path::new("./dictionary.tsv"), &words); println!("Complete: {:?} words", words.len()); }