correct.hyph,kRp.corpus-method {tm.plugin.koRpus} | R Documentation |
Methods to correct kRp.corpus objects
Description
These methods enable you to correct errors that occurred during automatic processing, e.g., wrong hyphenation.
Usage
## S4 method for signature 'kRp.corpus'
correct.hyph(obj, word = NULL, hyphen = NULL, cache = TRUE)
Arguments
obj |
An object of class |
word |
A character string,
the (possibly incorrectly hyphenated) |
hyphen |
A character string,
the new manually hyphenated version of |
cache |
Logical, if |
Details
For details on what these methods do on a per text object basis, please refer to the
documentation of correct.hyph
in the sylly
package.
Value
An object of the same class as obj
.
[Package tm.plugin.koRpus version 0.4-2 Index]