rdr_add_space_around_punctuations: Add space around punctuations so that it can be used in...

Description Usage Arguments Value Examples

Description

Add space around punctuations so that it can be used in rdr_pos and points/punctuations are not added to 1 specific word/term.

Usage

1

Arguments

x

a character vector

symbols

a character class of regular expressions to be used to identify punctuation symbols

Value

the character vector x where a space is put around punctuations

Examples

1
2
3
x <- c("Dus godvermehoeren met pus in alle puisten, zei die schele van Van Bukburg.Nieuwe zin.", 
  "  ", "", NA)
rdr_add_space_around_punctuations(x)

bnosac/RDRPOSTagger documentation built on May 8, 2019, 3:43 p.m.