Learn R Programming

ngram (version 3.2.3)

string.summary: Text Summary

Description

Text Summary

Usage

string.summary(string, wordlen_max = 10, senlen_max = 10, syllen_max = 10)

Value

A list of class string_summary.

Arguments

string

An input string.

wordlen_max, senlen_max, syllen_max

The maximum lengths of words/sentences/syllables to consider.

Examples

Run this code
x = "a b a c a b b"

string.summary(x)

Run the code above in your browser using DataLab