setPatternRange: Set range for similar regular expressions

Description Usage Arguments Value Examples

Description

setPatternRange returns a data frame with the list of restriced patterns.

Usage

1
setPatternRange(pl, colname = "symbols")

Arguments

pl

A list of patterns

colname

The name of the column containing the symbols

Value

a dataframe with patterns converted to restrict format. The restricted option combines the number of patterns using the min and max number of occurrencens. For example: [a-zA-Z]2-3

Examples

1
2
3
## getting patterns with ranges
patternRanges <- getPatternsRange(patternsList)
patternRanges[1,]

andreysoares/nlpUtilityBelt documentation built on May 6, 2019, 8:57 p.m.