wordhash: Wordlist Hashtable

wordhashR Documentation

Wordlist Hashtable

Description

Wordlist from the Grady Parts of Speech database. In order to reuse, 1.) Calculate the md5sum of the object you want to hash, 2.) Take the first 5 or more hex digits and fill them in this expression: as.integer(as.hexmode("<hex digits>") %% 226857) + 1. This will return an integer between 1 and 226857 which is the length of the wordlist hashtable. Then select the word according to the integer/index value using something like: wordlist %>% filter(index == integer) %>% pull(word).

Usage

wordhash

Format

A data frame with 226857 rows and 2 variables:

index

integer

word

character

Details

see data-raw/wordhash.R for construction

Source

https://www.gutenberg.org/ebooks/3201


blaserlab/blaseRdata documentation built on March 31, 2024, 6:51 a.m.