clean_text {swissparl} | R Documentation |
Clean texts retrieved from WebServices
Description
clean_text
removes HTML code, brackets and their contents as well as line breaks from texts.
Usage
clean_text(text, keep_round_brackets = T)
Arguments
text |
a character vector. |
keep_round_brackets |
if |
Value
A character vector of same length as text
.
Examples
## Not run:
# Get clean version of transcripts
get_glimpse(table = "Transcript", rows = 1000, Language = "DE") %>%
mutate(Text2 = clean_text(Text))
## End(Not run)
[Package swissparl version 0.2.2 Index]