SpellingReplacement-class {Aspell} | 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
:"character"
. The
correct word to replace the mis-spelled one.word
:"character"
. The
original, mis-spelled word.location
: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