Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

lexicon

Table of Contents

Description

lexicon is a collection of lexical hash tables, dictionaries, and word lists. The data prefixes help to categorize the data types:

Data

Installation

To download the development version of lexicon:

Download the zip ball or tar ball, decompress and run R CMD INSTALL on it, or use the pacman package to install the development version:

if (!require("pacman")) install.packages("pacman")
pacman::p_load_gh("trinker/lexicon")

Contact

You are welcome to:

Copy Link

Version

Install

install.packages('lexicon')

Monthly Downloads

8,515

Version

1.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Rinker

Last Published

April 24th, 2018

Functions in lexicon (1.0.0)

hash_emoticons

Emoticons
hash_sentiment_huliu

Hu Liu Polarity Lookup Table
key_contractions

Contraction Conversions
key_grade

Grades Data Set
pos_df_irregular_nouns

Irregular Nouns Word Dataframe
pos_action_verb

Action Word List
key_rating

Ratings Data Set
sw_loughran_mcdonald_long

Loughran-McDonald Long Stopword List
sw_loughran_mcdonald_short

Loughran-McDonald Short Stopword List
sw_lucene

Lucene Stopword List
modal_loughran_mcdonald

Loughran-McDonald Modal List
profanity_alvarez

Alejandro U. Alvarez's List of Profane Words
pos_preposition

Preposition Words
sw_fry_200

Fry's 200 Most Commonly Used English Words
nrc_emotions

NRC Emotions
sw_fry_1000

Fry's 1000 Most Commonly Used English Words
hash_lemmas

Lemmatization List
hash_grady_pos

Grady Ward's Moby Parts of Speech
hash_sentiment_slangsd

SlangSD Sentiment Polarity Table
sw_mallet

MALLET Stopword List
hash_sentiment_senticnet

Augmented SenticNet Polarity Table
profanity_arr_bad

Stackoverflow user2592414's List of Profane Words
profanity_banned

bannedwordlist.com's List of Profane Words
hash_sentiment_sentiword

Augmented Sentiword Polarity Table
pos_interjections

Interjections
hash_sentiment_socal_google

SO-CAL Google Polarity Table
sw_fry_25

Fry's 25 Most Commonly Used English Words
pos_df_pronouns

Pronouns
sw_jockers

Matthew Jocker's Expanded Topic Modeling Stopword List
sw_dolch

Leveled Dolch List of 220 Common Words
sw_python

Python Stopword List
sw_fry_100

Fry's 100 Most Commonly Used English Words
available_data

Get Available lexicon Data
emojis_sentiment

Emoji Sentiment Data
function_words

Function Words
grady_augmented

Augmented List of Grady Ward's English Words and Mark Kantrowitz's Names List
common_names

First Names (U.S.)
hash_emojis

Emoji Description Lookup Table
freq_first_names

Frequent U.S. First Names
freq_last_names

Frequent U.S. Last Names
hash_emojis_identifier

Emoji Identifier Lookup Table
hash_sentiment_jockers_rinker

Combined Jockers & Rinker Polarity Lookup Table
hash_sentiment_jockers

Jockers Polarity Lookup Table
hash_sentiment_emojis

Emoji Sentiment Polarity Lookup Table
hash_sentiment_loughran_mcdonald

Loughran-McDonald Polarity Table
constraining_loughran_mcdonald

Loughran-McDonald Constraining Words
hash_valence_shifters

Valence Shifters
hash_sentiment_nrc

NRC Sentiment Polarity Table
key_sentiment_jockers

Jockers Sentiment Key
lexicon

Lexicons for Text Analysis
hash_internet_slang

List of Internet Slang and Corresponding Meanings