Documentation
¶
Index ¶
Examples ¶
Constants ¶
View Source
const ( StartToken = "$" EndToken = "^" )
Tokens are wrapped around a sequence of words to maintain the start and end transition counts
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chain ¶
type Chain struct {
Order int
// contains filtered or unexported fields
}
Chain is a markov chain instance
func (*Chain) TransitionProbability ¶
TransitionProbability returns the transition probability between two states
Click to show internal directories.
Click to hide internal directories.