This is mainly a delegating class encapsulating the logic of the simulations. Concretely, it estimates the _entropy rate_ for different text sizes by repeatedly calling GetSingleEstimate then uses those estimate to find the stabilization point. It also holds helper printing and plotting methods.
(character): A character vector to use as corpus
(numeric): The size of each chunk of corpus to consider
(numeric): The total size of the text to consider
(numeric): Every how many words should it compute the entropy rate (reduces computation time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.