Learn R Programming

ngramr (version 1.9.3)

ngrami: Get n-gram frequencies (case insensitive version)

Description

This function is a simple wrapper of ngram for case insensitive searches.

Usage

ngrami(phrases, aggregate = TRUE, ...)

Arguments

phrases

vector of phrases

aggregate

sum up each of the terms

...

remaining parameters passed to ngram