Package-level declarations

Scheme for random words selected from word lists.

Types

Link copied to clipboard
data class DefaultWordList(val name: String, val filename: String)

A list of words read from a bundled file.

Link copied to clipboard
data class WordScheme(var words: List<String> = DEFAULT_WORDS, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme

Contains settings for generating random words.

Link copied to clipboard
class WordSchemeEditor(scheme: WordScheme = WordScheme()) : SchemeEditor<WordScheme>

Component for editing a WordScheme.

Functions

Link copied to clipboard
fun Document.getWordList(): List<String>

Returns the list of all non-blank lines in this Document.

Link copied to clipboard
fun Document.setWordList(wordList: List<String>)

Puts each entry of wordList onto a separate line in this Document.