next_word: Predict Next Word

Description Usage Arguments Value

Description

Predict Next Word

Usage

1
next_word(input_text)

Arguments

input_text

a single element character vector with the text that you would like to perform nextword prediction on.

Value

a character vector of suggested words in order

Uses ngram dictionary to compare the end of the provided string and provide suggestions.


Mikuana/NextWordR documentation built on May 8, 2019, 10:49 a.m.