syllable (version 0.1.2)

compute_syllable_counts: Compute Syllable Counts

Description

A computational approach to determine syllable counts. The function uses regular expressions and linguistical logic to compute the number of syllables in a term.

Usage

compute_syllable_counts(x, ...)

Arguments

x
A character vector of terms.
...
ignored.

Value

Returns a vector of syllable counts.

Examples

Run this code
terms <- c("other", "about", "many", "into", "number", "people", "water",
    "over", "only", "little", "very", "after", "sentence", "before",
    "any", "follow", "also", "around", "another", "even", "because",
    "different", "picture", "again", "away", "animal", "letter",
    "mother", "answer", "study", "America")

stats::setNames(compute_syllable_counts(terms), terms)

Run the code above in your browser using DataLab