Reference

Class

RiMarkov

Name

toJSON

Description Converts the model to a JSON-formatted string (JavaScript only)
Example
rm = new RiMarkov(3);
rm.addText(sentences);
json = rm.toJSON();
Returns
StringJSON representation
Syntax
toJSON();
Platform JavaScript