3 releases
0.1.2 | Jan 5, 2025 |
---|---|
0.1.1 | Jan 5, 2025 |
0.1.0 | Jan 5, 2025 |
#1854 in Development tools
332 downloads per month
385KB
129 lines
fakelish
English-like word generator; port of Ryo Ota's fakelish:
Build CLI:
git clone https://github.com/shareable-vision/fakelish-rs
cd ./fakelish-rs
cargo build --release --features="cli"
./target/release/fakelish --help
Use Library:
use fakelish::WordGenerator;
fn main() {
// Configure the word generator:
let mut generate = WordGenerator::new(7, 11, 4);
let word: String = generate.word();
let words: Vec<String> = generate.phrase(20);
}
The output should be like the following:
liverge
britingl
espectu
ideative
ineffectomy
oweling
gynously
reloade
econful
oominis
fluctually
inbreechi
ozonitrin
nonflaggie
wolframe
oligophase
illetonico
weightl
outleaves
rigoratini
lib.rs
:
English-like word generator ported from Ryo Ota's fakelish packages.
Dependencies
~3–5MB
~95K SLoC