strip_short: Strip Short Words

Description Usage Arguments

View source: R/parsing.R

Description

Remove words less than a certain length.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
strip_short(s, min_len = 5, ...)

## S3 method for class 'character'
strip_short(s, min_len = 5, ...)

## S3 method for class 'list'
strip_short(s, min_len = 5, ...)

## S3 method for class 'data.frame'
strip_short(s, min_len = 5, text, ...)

Arguments

s

A Character string or data.frame.

min_len

Minimum word length.

...

Any other options.

text

bare name of text column.


news-r/gensimr documentation built on Jan. 9, 2021, 5:55 a.m.