View source: R/check_spelling.R
check_spelling_interactive.character | R Documentation |
View character check_spelling_interactive.
## S3 method for class 'character'
check_spelling_interactive(
text.var,
range = 2,
assume.first.correct = TRUE,
click = TRUE,
method = "jw",
dictionary = qdapDictionaries::GradyAugmented,
parallel = TRUE,
cores = parallel::detectCores()/2,
n.suggests = 8,
...
)
text.var |
A |
range |
An integer of length 1 to use as a range for number of
characters, beyond the number of characters of a word not found in the
|
assume.first.correct |
logical. If |
click |
logical. If |
method |
Method for distance calculation. The default is "jaccard". It
is assumed that smaller measures indicate closer distance. Measures that do
not adhere to this assumption will result in incorrect output (see
|
dictionary |
A character vector of terms to search for. To reduce overhead it is expected that this dictionary is lower case, unique terms. |
parallel |
logical. If |
cores |
The number of cores to use if |
n.suggests |
The number of terms to suggest. In the case of a tie
(multiple terms have the same distance from misspelled word) all will be provided.
Dictionary reduction may result in less than |
... |
ignored |
character Method for check_spelling_interactive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.