normalizzapunteggiatura: normalizzapunteggiatura

Description Usage Arguments Value Author(s) Examples

View source: R/normalizzapunteggiatura.R

Description

normalizzapunteggiatura strip of escape and punctation from a set of texts.

Usage

1
2
3
4
5
6
normalizzapunteggiatura(
  testo,
  removeUnderscore = TRUE,
  perl = TRUE,
  fixed = TRUE
)

Arguments

testo

a set of texts to be stripped of escape and punctation

removeUnderscore

logical. If TRUE, underscore characters "_" are wiped from the texts

perl

logical. If TRUE Perl-compatible regexps are used.

fixed

logical. If TRUE, pattern is a string to be matched as is. Overrides all conflicting arguments.

Value

a set of processed texts.

Author(s)

Livio Finos

Examples

1
2
3
4
 testo<-c(testo<-c("@ ","@retweet","# ","#ciao")) 
 normalizzapunteggiatura(testo)
 
 

livioivil/TextWiller documentation built on Nov. 30, 2020, 3:17 a.m.