
text2map.dictionaries: Dictionaries for Text Analysis
Source:R/text2map.dictionaries-package.R
text2map.dictionaries-package.RdProvides dictionaries for text analysis, including word frequencies, norms, normalization rules, and specialized word lists. Uses an on-demand download system: core dictionaries are installed with the package, while additional dictionaries are downloaded from the repository as needed.
Details
The package ships with 4 core dictionaries (always available) and offers 65 additional on-demand dictionaries that can be downloaded as needed.
Core dictionaries include sensorimotor norms, concreteness ratings, English normalization rules, and Unicode normalization.
On-demand dictionaries cover areas like word frequencies (English, French, German, Italian, Portuguese, Spanish), surname distributions, various psychological norms (NRC VAD, WKB VAD, humor norms), and more.
Dictionary Workflow
list_dictionaries()— See what's availabledictionary_info()— Get details on a single dictionaryload_dictionary()— Load a dictionary (auto-downloads if needed)load_dictionaries()— Load multiple dictionaries at oncedownload_dictionary()— Pre-download an on-demand dictionaryupdate_dictionaries()— Update outdated dictionariesunify_dictionary()— Normalize column names across dictionaries
Cache Management
Loaded dictionaries are cached for faster subsequent access.
clear_dictionary_cache()— Remove all cached dictionariesremove_cached_dictionary()— Remove a single cached dictionary
Version and Integrity
dict_version()— Get a dictionary's versioncheck_updates()— Check for available updatesverify_dictionary()— Verify MD5 checksums
Author
Maintainer: Dustin Stoltz maintainers@textmapping.com
Authors:
Dustin Stoltz maintainers@textmapping.com
Marshall Taylor maintainers@textmapping.com