normalizzahtml: normalizzahtml

Description Usage Arguments Value Author(s) Examples

View source: R/normalizzahtml.R

Description

normalizzahtml replaces links and URLs in testo with the keyword WWWURLWWW

Usage

1
normalizzahtml(testo, perl = TRUE, fixed = TRUE)

Arguments

testo

a set of texts to be preprocessed

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 texts where URLS have been replaced by the keyword WWWURLWWW

Author(s)

Livio Finos

Examples

1
2
3
4
 testo<-c("http:textwiller.com","www.textwiller.com") 
 normalizzahtml(testo)
 
 

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