Methods for estimating profit, profit-maximizing price, demand and consumer surplus of Word-of-Mouth-campaigns on mean-field networks.

Apply 'Wordpiece' (<arXiv:1609.08144>) tokenization to input text, 
 given an appropriate vocabulary. The 'BERT' (<arXiv:1810.04805>) tokenization 
 conventions are used by default.

Provides data to be used by the wordpiece algorithm in order to 
    tokenize text into somewhat meaningful chunks. Included vocabularies were 
    retrieved from 
    <https://huggingface.co/bert-base-cased/resolve/main/vocab.txt> and 
    <https://huggingface.co/bert-base-uncased/resolve/main/vocab.txt> and parsed
    into an R-friendly format.

Collects several classical word pools used most often
    to provide lists of words in psychological studies of learning and memory. It
    provides a simple function, 'pickList' for selecting random samples of words
    within given ranges.

A framework for developing n-gram models for text prediction.
    It provides data cleaning, data sampling, extracting tokens from text,
    model generation, model evaluation and word prediction. For information on how n-gram models 
    work we referred to: "Speech and Language Processing"
    <https://web.stanford.edu/~jurafsky/slp3/3.pdf>. For optimizing R code and
    using R6 classes we referred to "Advanced R" 
    <https://adv-r.hadley.nz/r6.html>. For writing R extensions we referred to 
    "R Packages", <https://r-pkgs.org/index.html>.

The word puzzle game requires you to find out the letters in a word within a limited number of guesses. In each round, if your guess hit any letters in the word, they reveal themselves. If all letters are revealed before your guesses run out, you win this game; otherwise you fail. You may run multiple games to guess different words.

Serves for rendering MS Word documents with R inline code and inserting tables and plots.

List of english scrabble words as listed in the OTCWL2014
    <https://www.scrabbleplayers.org/w/Official_Tournament_and_Club_Word_List_2014_Edition>.
    Words are collated from the 'Word Game Dictionary' <https://www.wordgamedictionary.com/word-lists/>.