Learn R Programming

tidytext (version 0.1.1)

parts_of_speech: Parts of speech for English words from the Moby Project

Description

Parts of speech for English words from the Moby Project by Grady Ward. Words with non-ASCII characters and items with a space have been removed.

Usage

parts_of_speech

Arguments

Format

A data frame with 205,985 rows and 2 variables:
word
An English word
pos
The part of speech of the word. One of 13 options, such as "Noun", "Adverb", "Adjective"

Examples

Run this code

library(dplyr)

parts_of_speech

parts_of_speech %>%
  count(pos, sort = TRUE)

Run the code above in your browser using DataLab