ngrams: deprecated function name for forming ngrams and skipgrams

Description Usage

View source: R/tokens_ngrams.R

Description

Deprecated function names for forming ngrams and skipgrams; use tokens_ngrams and tokens_skipgrams instead.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ngrams(x, ...)

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

## S3 method for class 'tokenizedTexts'
ngrams(x, ...)

## S3 method for class 'tokens'
ngrams(x, ...)

skipgrams(x, ...)

quanteda documentation built on Sept. 23, 2017, 1:03 a.m.