syllable (version 0.1.2)

tally_mono_string: String Syllable Tally of Monosyllabic Words

Description

Monosyllabic word tallies for the words in a string.

Usage

tally_mono_string(x, ...)

Arguments

x
A character vector.
...
ignored.

Value

Returns a single integer of the total number of monosyllables in the string.

See Also

Other syllable.functions: count_string, count_vector_by, count_vector, sum_string, sum_vector_by, sum_vector, tally_both_string, tally_both_vector_by, tally_both_vector, tally_di_string, tally_di_vector_by, tally_di_vector, tally_mono_vector_by, tally_mono_vector, tally_poly_string, tally_poly_vector_by, tally_poly_vector, tally_short_string, tally_short_vector_by, tally_short_vector

Examples

Run this code
tally_mono_string("I like chicken and beans!")
tally_mono_string(hamlets_soliloquy)

Run the code above in your browser using DataCamp Workspace