engish 0.3.9

A language utility for sampling and building words.
Documentation
#![warn(missing_docs)]

//! Engish is a library that provides a silly interface for sampling letters and words in an English style.
//! Letter sampling is weighted according to the english language, and support for bigraphs is provided.

/// Various utility functions for general use.
pub mod util;
/// Support for word generation.
#[cfg(feature = "builders")]
pub mod builders;

/// A collection of tools for building a cutsom language model.
pub mod language;

/// The five major vowels in English.
pub const VOWLES: [char; 5] = ['a', 'e', 'i', 'o', 'u'];

/// A collection of the most useful features.
pub mod prelude {
    pub use crate::language::{DictionarySampling, Dictionary, DictionaryStack, Language, Noun,  Verb, Adjective, Word, WordLength};
    pub use crate::util::add_article;
    #[cfg(feature = "builders")]
    pub use crate::builders::{WordBuilder, PropperNounBuilder};
}