add_off_list_groups: Add off-list groups to generated word-lists

View source: R/add_off_list_groups.R

add_off_list_groupsR Documentation

Add off-list groups to generated word-lists

Description

Provides "number", "proper-noun", "pronoun", & "off-list" groupings for words that do not appear in the word lists you are using as a reference. This should be used after producing wordlists with word.lists::get_wordlists, tidytext::unnest_tokens etc. AND joining it to a word list with lemma and group variables

Usage

add_off_list_groups(data)

Arguments

data

a dataframe with at least "group", "upos", and "lemma" variables

Value

a dataframe with a mutated group variable


antdurrant/word.lists documentation built on July 20, 2023, 3:57 p.m.