check_sngrams: Check whether a tokenized corpus contains specific n-grams....

View source: R/text_analysis_patrick.R

check_sngramsR Documentation

Check whether a tokenized corpus contains specific n-grams. The function prints a list of the specific n-gram in all texts of the corpus

Description

Check whether a tokenized corpus contains specific n-grams. The function prints a list of the specific n-gram in all texts of the corpus

Usage

check_sngrams(toks, wseq, wseqc)

Arguments

toks

Tokonized corpus

wseq

Pre-specified word sequence as list on which n-grams should be created; may contain wildcard combinations using '*'

wseqc

Pre-specified word sequence concatinated


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.