You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The English dictionary is not implemented in the set of languages, but you can use one from somewhere else like that
let reader = BufReader::new(File::open("Your_lang.txt")?);// Your_lang is a file with each word of the language on a different line// Your can generate the words like this let table = ProbabilityTable::from_reader(reader,3)?;// Generate the generator with an accuracy of 3println!("{:?}", table.generate_words(15));// Generate 15 word// Or like that println!("{:?}", generate_words(reader,3,15)?);// Generate 3 words with an accuracy of 3
If you happened to find an English dictionary free of use, you can tell me it or even send a push request
How do I generate English words???
The text was updated successfully, but these errors were encountered: