desc <- suppressWarnings(readLines("DESCRIPTION")) regex <- "(^Version:\\s+)(\\d+\\.\\d+\\.\\d+)" loc <- grep(regex, desc) ver <- gsub(regex, "\\2", desc[loc]) # verbadge <- sprintf('<a href="https://img.shields.io/badge/Version-%s-orange.svg"><img src="https://img.shields.io/badge/Version-%s-orange.svg" alt="Version"/></a></p>', ver, ver) verbadge <- '' ```` [](http://www.repostatus.org/#active) [](https://travis-ci.org/trinker/lexicon) [](https://cran.r-project.org/package=lexicon) `r verbadge`  # Description **lexicon** is a collection of lexical hash tables, dictionaries, and word lists. The data prefixes help to categorize the data types: Prefix | Meaning ------------- | ------------- `key_` | A `data.frame` with a lookup and return value `hash_` | A keyed `data.table` hash table `freq_` | A `data.table` of terms with frequencies `profanity_` | A profane words `vector` `pos_` | A part of speech `vector` `pos_df_` | A part of speech `data.frame` `sw_` | A stopword `vector` # Data ```r pacman::p_load(pander, lexicon) dat <- available_data() pander::set.alignment('left') pander(dat, style = "grid")
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")
You are welcome to:
- submit suggestions and bug-reports at: https://github.com/trinker/lexicon/issues
- send a pull request on: https://github.com/trinker/lexicon/
- compose a friendly e-mail to: tyler.rinker@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.