analyze_trigrams: Analyze Trigrams

View source: R/ngrams.R

analyze_trigramsR Documentation

Analyze Trigrams

Description

Analyze text with ngram=3 (trigrams).

Usage

analyze_trigrams(in_text, top_rows = 25)

Arguments

in_text

a character vector. Text to be analyzed as a character vector.

top_rows

a numeric vector of length 1. Number of top rows to be returned.

Details

analyze_trigrams

Value

A data.frame with two columns - trigram (character vector) and count (numeric vector).

Author(s)

Ravindra Pushker

Examples

analyze_trigrams(in_text=c("The quick brown fox jumps over the lazy dog."))

textanalyzer documentation built on April 3, 2025, 11:55 p.m.