Learn R Programming

textanalyzer (version 0.2.0)

analyze_bigrams: Analyze Bigrams

Description

Analyze text with ngram=2 (bigrams).

Usage

analyze_bigrams(in_text, top_rows = 25)

Value

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

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.

Author

Ravindra Pushker

Details

analyze_bigrams

Examples

Run this code
analyze_bigrams(in_text=c("The quick brown fox jumps over the lazy dog."))

Run the code above in your browser using DataLab