gabble

Crates.iogabble
lib.rsgabble
version0.1.1
sourcesrc
created_at2021-09-02 12:31:21.78584
updated_at2021-09-02 12:55:57.309785
descriptionLibrary crate for generating random pseudo-words
homepage
repositoryhttps://github.com/trueleo/gabble/
max_upload_size
id445949
size12,927
Satyam Singh (trueleo)

documentation

README

gabble

Library crate for generating pseudo-word.

Example

use rand::{thread_rng, Rng};
let mut rng = thread_rng();

// `Gab` gives gibberish of some moderate length
use gabble::Gab;
let word: Gab = rng.gen();
println!("{} might be answer to life", word);

// `GabLength` gives gibberish of minimum N length
use gabble::GabLength;
let word: GabLength<14> = rng.gen();
println!("{} is a long word", word);

Top words

  • ilaincy
  • gruimsab
  • graoness
  • duieyaior

Words are generated by combining vowel-consonant syllables. If you want words that closely resembles regular english then look for some library that uses markov chain.

Commit count: 12

cargo fmt