GT_discount: Get Good Turing discount from ngram frequency table

Description Usage Arguments

Description

Get Good Turing discount from ngram frequency table

Usage

1
gt_discount(df, freq = r, mx = 5)

Arguments

df

data.frame

freq

name of freq column

mx

max freq to consider for GT discount


OmaymaS/textpredict documentation built on May 7, 2019, 9:03 p.m.