| replacePatterns-methods {tm} | R Documentation |
Methods for function replacePatterns in package tm.
patterns (in POSIX 1003.2 extended regular expressions
format, as used by gsub) which occur in
object with by and return the object.
Use getTransformations to list available transformation (mapping) functions.
data("crude")
crude[[1]]
replacePatterns(crude[[1]], "[[:space:]]((C|c)orp|copany)[[:space:]]", " company ")