Learn R Programming

lexicon (version 0.1.1)

hash_syllable: Syllable Counts

Description

A data.table hash table dataset containing words and syllable counts.

Usage

data(hash_syllable)

Arguments

Format

A data frame with 124603 rows and 2 variables

Details

  • word. A character column of lower case words.
  • syllables. The syllable counts per word.

References

Counts scraped from http://www.poetrysoup.com

Examples

Run this code
## Not run: ------------------------------------
# library(data.table)
# hash_syllable[c('yield', 'hurtful', 'admonishing', 'abdicate')]
## ---------------------------------------------

Run the code above in your browser using DataLab