nextWordMiner: Mining next word

Description Usage Arguments Value Examples

View source: R/nextWordMiner.R

Description

Extend candidate words based on Bayesian probability.

Usage

1
nextWordMiner(n_char_final, numOfChar, bayesianCutoff)

Arguments

n_char_final

word table with n characters

numOfChar

The number of character of candidate word, which should be equal to the number of characters in n_char_final

bayesianCutoff

Bayesian conditional probability of occurrence of next word. The algorithm will drop

Value

List of new candidates words and words which cannot be extended.

Examples

1
nextWordMiner(df, 2, 0.3)

Flaretie/mpb documentation built on Jan. 24, 2020, 3:18 a.m.