Documentation
¶
Index ¶
Constants ¶
View Source
const ( StartToken = "_START_" EndToken = "_END_" )
These signal the start and end of a sentence.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Markov ¶
type Markov struct {
Chain map[string]Output `json:"_chain"`
// contains filtered or unexported fields
}
func (Markov) GenerateExample ¶
func (Markov) TrainOnCorpus ¶
func (Markov) TrainOnExample ¶
Click to show internal directories.
Click to hide internal directories.