ngram: ngram tokenizes the text and returns a character vector with...

Description Usage Arguments

View source: R/ngram.R

Description

Sentences are considerted to be the end of the processing. For example, " this is the end. I will" will not contain an "end", "I", "will" trigram.

Usage

1
ngram(text, gramLength)

Arguments

text

string of text to load the ngrams.

gramLength

Integer greater than zero


justinnafe/NextWord documentation built on May 20, 2019, 5:16 a.m.