Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LearnProgress ¶
type LearnProgress struct {
ProcessedTerms int
}
type Learner ¶
type Learner struct { *scorer.Vectoriser // contains filtered or unexported fields }
func (*Learner) Learn ¶
func (learner *Learner) Learn(learningData []*spell.LearningTerm) spell.ScoreModel
func (*Learner) LearnProgress ¶
type Scorer ¶
type Scorer struct { Weights *scorer.Vector *scorer.Vectoriser }
func (*Scorer) Compare ¶
func (scoring *Scorer) Compare(a *spell.Suggestion, b *spell.Suggestion) float64
Click to show internal directories.
Click to hide internal directories.