Reference

Class

RiMarkov

Name

size

Description Returns the number of tokens currently in the model
Syntax
size();
Returns
int
Example
rm = new RiMarkov(3);
rm.loadFrom("http://www.rednoise.org/rita/examples/data/wittgenstein.txt"); rm.size();
Platform Java / Javascript