R/DeletePonctuation.R

# Change accent
# Change l'e dans l'o
# Supprime ponctuation
# Supprime tous les espaces en trop (debut, fin, milieu)

DeletePonctuation <- function(textToChange) {
  
  textChanged <- gsub("[^[:alnum:][:space:]]", " ", textToChange)
  
  return(textChanged)
  
}
Blitzy29/TextMiningTools documentation built on May 6, 2019, 7:57 a.m.