Browse Source

This prevents "merged" words

master
JayVii 7 months ago
parent
commit
f799ac4516
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/collecto.R

+ 1
- 1
scripts/collecto.R View File

@@ -68,7 +68,7 @@ tweets <- within(data = tweets, expr = {

# extract "clean" text (without URLs or lineabreaks)
ctxt <- gsub(pattern = "http.?://.+($|\\s)", x = text, replace = "") %>%
gsub(pattern = "\n", x = text, replace = "")
gsub(pattern = "\n", x = text, replace = " ")

# Client data
clnt <- as.factor(source)

Loading…
Cancel
Save