Clean a vector of sentences

sl_clean_vector(words)

Arguments

words

character vector

Value

list each sentence is it's own character vector

Examples

sentences <- c("hello my name is","this is another sentence") sl_clean_vector(sentences)
#> [[1]] #> [1] "hello" "my" "name" "is" #> #> [[2]] #> [1] "this" "is" "another" "sentence" #>