Skip to content

trueleo/gabble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A random psuedo-word library crate for rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages