SpellingReplacement-class | R Documentation |
This class is used to represent a potential change or subsitution in a document for a spelling error. It includes the original mis-spelled word, the correct word that should replace it and the location within the document of the original word. The location is the offset and the length, giving the precise sequence of bytes that must be removed and substituted.
Objects can be created by calls of the form new("SpellingReplacement", ...)
.
correction
:Object of class "character"
. The
correct word to replace the mis-spelled one.
word
:Object of class "character"
. The
original, mis-spelled word.
location
:Object of class AspellToken-class
. The
location for the substitution.
No methods defined with class "SpellingReplacement" in the signature.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://aspell.sourceforge.net http://www.omegahat.org
spellDoc
DocSpeller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.