text2map.dictionaries
: Dictionaries for Text Analysis
This is an R Package with several datasets for English-language dictionaries useful for text analysis. See also text2map
.
This is primarily a dataset package and therefore we will not be sending it to CRAN. You can install the latest version from GitLab:
library(remotes)
install_gitlab("culturalcartography/text2map.dictionaries")
library(text2map.dictionaries)
The package currently includes 20+ dictionaries, primarily English, containing hand-ranked and inferred word “norms,” as well as frequency and rank information from various corpora or administrative data. Additionally, there are a few domain-specific dictionaries documenting rare words.
There are four related packages hosted on GitLab:
text2map
: text analysis functionstext2map.corpora
: 13+ text datasetstext2map.pretrained
: pretrained embeddings and topic modelstext2map.theme
: changes ggplot2
aesthetics and loads viridis color scheme as defaultThe above packages can be installed using the following:
install.packages("text2map")
library(remotes)
install_gitlab("culturalcartography/text2map.theme")
install_gitlab("culturalcartography/text2map.corpora")
install_gitlab("culturalcartography/text2map.pretrained")
We welcome new dictionaries – especially old or rare dictionaries! If you have a dictionary you would like to be easily available to other researchers, send us an email (maintainers [at] textmapping.com) or submit pull requests.
Please report any issues or bugs here: https://gitlab.com/culturalcartography/text2map.dictionaries/-/issues