spell_check_gadget: Shiny Spell Check Gadget

Description Usage Arguments Value

View source: R/spell_check_gadget.R

Description

A shiny gadget that pairs with the spellcheck_words to examine flagged words and create a dataframe for string replacements.

Usage

1
spell_check_gadget(words, corpus, my_dict = hunspell::dictionary("en_US"))

Arguments

words

A character vector of strings to spell check

corpus

A quanteda corpus to examine each word from words in its textual context.

my_dict

A hunspell dictionary object to use as reference in suggesting spelling corrections. The default is the 'en-US' dictionary.

Value

A dataframe


clawilso15/Text.Replace documentation built on Feb. 6, 2021, 5:45 a.m.