randomword: Query a random selection of words with their frequency

Description Usage Arguments Value Examples

View source: R/word-service.R

Description

lists randomly choosen words (of medium frequency) of a corpus. Can be used to provide the user with a preselection of words.

Usage

1
randomword(n, corpus = "deu_news_2012_1M", force = FALSE)

Arguments

n

integer: Number of words to query. Should be between 1 and 1000

corpus

Name of the corpus to query. Default is the German deu_news_2012_1M

force

logical. Set to TRUE, if you want to query more than 1000 words

Value

A tibble with random words, their id and their word frequency

Examples

1

tgraf0/wortschatzR documentation built on May 5, 2019, 3:51 a.m.