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.
text
(character): A character vector to use as corpus
step.size
(numeric): The size of each chunk of corpus to consider
max.length
(numeric): The total size of the text to consider
every.word
(numeric): Every how many words should it compute the entropy rate (reduces computation time)
Dimitris Alikaniotis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.