Dictionaries for the 'SemNetCleaner' Package
Overview
Implements dictionaries that can be used in the 'SemNetCleaner' package. Also includes several functions aimed at facilitating the text cleaning analysis in the 'SemNetCleaner' package. This package is designed to integrate and update word lists and dictionaries based on each user's individual needs by allowing users to store and save their own dictionaries. Dictionaries can be added to the 'SemNetDictionaries' package by submitting user-defined dictionaries to https://github.com/AlexChristensen/SemNetDictionaries.
- UPDATE:
animals,fruits,vegetables,jobs,hot, andgooddictionaries (animals1,252 to 1,285 words,fruits488 to 481,vegetables284 to 340,jobs1,471 to 1,023,hot281 to 273,good284 to 316): misspellings, plurals, and spacing and hyphen variants are monikers instead of dictionary entries, words that are not in the category were removed (e.g., conifers infruits, antonyms ingood, first words of longer titles such as"air"injobs), and common words were added - UPDATE:
animals,fruits,vegetables,jobs,hot, andgoodmonikers (animals245 to 340 words,fruits35 to 79,vegetables35 to 70,jobs117 to 152,hot15 to 64,good4 to 41): variants are lower case, every word is a dictionary entry, and a variant is no longer also a dictionary entry (the dictionary accepts its words before monikers are tried) - UPDATE:
hotandgoodonly share"beautiful"; a word is in the dictionary where it has its sense - UPDATE:
cocaandcocaspellmonikers have lower case words (words that only differed in case are merged); the 31cocaspellwords with digits (e.g.,"mid-1700s", whichSemNetCleanercould not recover) and the 5cocawords that are not dictionary entries were removed - UPDATE:
generalhas"cryptocurrency"and not the typo"acceleratorh", andmost_commonhas no duplicates (9,318 words) - UPDATE:
load.dictionariesandload.monikerskeep what they load for the session, so repeated calls take under 1 ms (about 40 to 95 ms before), including single letters (load.dictionaries("a")) - UPDATE:
append.dictionary(textcleaner = TRUE)inserts new words into a sorted dictionary instead of sorting it again when it is the dictionary that the previous call returned (about 290 ms to about 6 ms forcocaspell) - UPDATE:
load.dictionariesgives a warning of classsemnet_dictionary_not_found(a message before) for a dictionary that cannot be found, leaves it out, and returnscharacter(0)(NULLbefore) when none are found - UPDATE:
load.dictionariesaccepts names in any case, ignores a.dictionarysuffix, and only usesadd.path(a path that does not exist is an error) for dictionaries that are not in the package - UPDATE:
load.dictionarieslooks for custom dictionaries in the global environment,add.path, the working directory, andtempdir(); it no longer searches the Desktop, Downloads, or the folders inside the working directory - UPDATE:
find.dictionariesno longer searches the Desktop, Downloads, or the working directory recursively, finds dictionaries in the global environment, and returns nothing for a name that does not exist (it returned every dictionary) - UPDATE:
load.monikersreturnscharacter(0)(list()withvector = FALSE) for dictionaries without monikers (logical(0)andNAbefore)
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
- UPDATE:
dictionaries(quiet = FALSE)prints the dictionaries (any value forquietwas quiet) - UPDATE: the startup message is plain text (no ANSI escape codes)
- UPDATE: dependencies:
utilsisImports;easycsv,ggplot2,gridExtra,patchwork,shiny,shinyalert,shinyjs, andmarkdownare dropped;tcltk(to choose a directory),testthat, andwithrareSuggests - UPDATE: the vignette describes the monikers and the new
load.dictionariesbehavior - ADD:
append.dictionary(textcleaner = TRUE)gives a warning of classsemnet_dictionary_words_not_savedwhen the dictionary file already exists and the dictionary argument has words that the file does not have (only words that are not in the dictionary argument are added to an existing file, so those words were not saved) - ADD:
recursiveargument infind.dictionaries(defaultFALSE) - ADD:
testthattests (there were none), including tests of the rules for dictionaries and monikers and of the size of the installed data - ADD: GitHub workflow that runs
R CMD checkon Linux, macOS, and Windows - REMOVE:
ShinyWoRdle(the Wordle site was removed) andinst/ShinyWoRdle - REMOVE:
packageargument ofappend.dictionary(defunct, it only worked on the maintainer's computer) - FIX:
load.dictionariesfailed with more than 10 words (a corpus) that include a single letter (e.g.,"a") - FIX:
load.dictionaries()without input failed withargument is of length zero; it now stops with a clear error - FIX:
load.monikersreturned its input when it had more than 10 words - FIX:
append.dictionary(textcleaner = TRUE)failed (object 'dict.words' not found) unless the name of the dictionary argument contained.dictionary; the dictionary is now the argument whose expression containsdictionary(a string such as"dictionary"is a new word) or, without one, the arguments after the first - FIX:
dictionariesfailed when the package was loaded from source (e.g.,devtools::load_all())
From NEWS in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 27includes a package overview page
- Examples that run
- 100%26 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
Commits over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/alexchristensen/semnetdictionaries on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows
Dependencies
Installing SemNetDictionaries adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.1
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.02022-01-17 · diff ↗
- 0.1.92021-08-16 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.82020-12-04 · diff ↗
- 0.1.72020-09-26 · diff ↗
- 0.1.62020-06-08 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.5
- 0.1.42019-09-27 · diff ↗
Show 10 earlier eventsHide 10 earlier events
- 0.1.3
- unarchivedReturned to CRAN2019-06-20
- 0.1.2
- RR 3.6.0 released · 2019-04-26
- archivedRemoved from CRAN2019-03-28policy violation Left things in '/tmp'
- unarchivedReturned to CRAN2019-03-26
- 0.1.12019-03-26 · diff ↗
- archivedRemoved from CRAN2019-03-25policy violation Left things in '/tmp'
- 0.1.02019-03-24
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-03-24
- Total releases
- 13 / 7 yrs
- License
- GPL (>= 3.0)
- Minimum R
- ≥ 3.6.0
- Bundled data
- 2.4 MB / 21 files
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("SemNetDictionaries")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1037/met0000463.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.