wc: Count Words of a String

Description Usage Arguments Details Value

View source: R/wrappers.r

Description

See title.

Usage

1
wc(string, maxwordlen = 16, maxsenlen = 20, maxsyllen = 10)

Arguments

string

A string.

maxwordlen

Maximum length of words to consider.

maxsenlen

Maximum length of sentences to consider.

maxsyllen

Maximum length of syllables to consider.

Details

The basic logic is to call a word something separated by one or more "spaces" (literal space, tab, ...). Special treatment is given to multiline text with a dangling dash.

Value

The number of words.


XSEDEScienceGateways/TAG documentation built on June 10, 2017, 1:28 p.m.