Skip to content

get()

Pick a random symbol to follow a context, using the longest order that fits.

compositemarkovmodel.get(tupleOfSymbols)

Tries the highest order first and falls back to shorter contexts as needed.

Parameters

compositemarkovmodel.get(tupleOfSymbols)
Parameter Type Default Description
tupleOfSymbols tuple required The context to follow on from.

Returns

nextSymbol