R/DeleteAllExtraSpaces.R

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

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