remove_punctuation {discoverableresearch}R Documentation

Remove punctuation from text

Description

Removes common punctuation marks from a text.

Usage

remove_punctuation(text, preserve_punctuation = NULL)

Arguments

text

A character vector from which to remove punctuation.

preserve_punctuation

A string or vector of punctuation to retain

Value

Returns the input text with punctuation removed.

Examples

remove_punctuation("#s<<<//<y>!&^n$$t/>h%e&s$is#!++r!//")

[Package discoverableresearch version 0.0.1 Index]