tally_both_string: String Syllable Tally of Short-syllabic and Poly-syllabic...

Description Usage Arguments Value See Also Examples

View source: R/tally_both_string.R

Description

Short-syllabic (< 3 syllables) and poly-syllabic word tallies for the words in a string.

Usage

1

Arguments

x

A character vector.

...

ignored.

Value

Returns a two integer vector of the total number of non-polysyllables (short) and polysyllables (poly) in the string.

See Also

Other syllable.functions: count_string, count_vector_by, count_vector, sum_string, sum_vector_by, sum_vector, tally_both_vector_by, tally_both_vector, tally_di_string, tally_di_vector_by, tally_di_vector, tally_mono_string, 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

1
2
tally_both_string("I like excellent chicken and mediocre hotdogs!")
tally_both_string(hamlets_soliloquy)

Example output

short  poly 
    5     2 
short  poly 
  258    18 

syllable documentation built on May 30, 2017, 12:52 a.m.