dot-choose_word: Choose a word from a dictionnary

Description Usage Arguments Value

Description

Choose a word of the given length from a dictionnary

Usage

1
.choose_word(dict, n.letters)

Arguments

dict

Either one of 'english' or 'french' to choose from installed dictionaries, or a file path to read custom dictionary, or a character vector of words to choose from

n.letters

The number of letters of the word to be chosen

Value

A word. Wil throw an error if no word of the wanted length exists in the dictionnary


norival/rhangman documentation built on May 23, 2019, 8:21 p.m.