words: Extract or Count Words

View source: R/words.R

wordsR Documentation

Extract or Count Words

Description

Return a list of words contained in a text.

Usage

words(x, ...)

## Default S3 method:
words(x, file, ...)

## S3 method for class 'character'
words(x, ...)

nword(x, ...)

lexicon(x, ...)

Arguments

x

Character vector or an object coercible to a text objexct.

...

Further arguments (not used).

file

Character vector specifying a file to be read.

Examples

words("The punctuation, in this phrase; is ... really: 'terrible'.")
nword("The punctuation, in this phrase; is ... really: 'terrible'.")

TobieSurette/gulf.utils documentation built on Dec. 1, 2024, 6:01 a.m.