get_ngrams: Extract and save ngrams from text

Description Usage Arguments

View source: R/get_ngrams.R

Description

Extract and save ngrams from text to aid in the removal of boilerplate text from documents.

Usage

1
get_ngrams(input_dir, ngram_dir, language = "en")

Arguments

input_dir

Directory containing text files to extract ngrams from.

ngram_dir

Directory to save ngrams to.

language

Language in which documents are written.


dtburk/gensci.stm documentation built on Nov. 13, 2019, 12:33 a.m.