Learn R Programming

dhlabR (version 1.0.6)

get_ngram: Hidden internal function to get NGRAM

Description

Hidden internal function to get NGRAM

Usage

get_ngram(word, corpus, language = NULL)

Value

A list that contains the NGRAM.

Arguments

word

The word to get NGRAM for.

corpus

The corpus to use. Options are 'avis' and 'bok'.

language

The language to use. Default is NULL.