getWords: Get vector of words from character vectors

Description Usage Arguments Details Value Examples

View source: R/getWords.R

Description

This function splits words up on spaces and deletes punctuation separating words (contractions still contain apostrophes).

Usage

1

Arguments

x

a character vector containing text

Details

These words are filtered so that

there are no empty ones.

Value

a character vector containing words

Examples

1
2
getWords('foo bar baz.')
##

minimenchmuncher/courseraSkCapstone documentation built on May 22, 2019, 11:54 p.m.