ngram (version 3.0.4)

string.summary: Text Summary

Description

Text Summary

Usage

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

Arguments

string

An input string.

wordlen_max, senlen_max, syllen_max

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

Value

A list of class string_summary.

Examples

Run this code
# NOT RUN {
x <- "a b a c a b b"

string.summary(x)

# }

Run the code above in your browser using DataLab