Reference

Class

RiMarkov

Name

size

Description Returns the number of tokens currently in the model
Example
rm = new RiMarkov(3);
rm.addText(sentences); if (rm.size() > 10) { ... }
Returns
int
Syntax
rm.size();
Platform Java / JavaScript