Versions in this module Expand all Collapse all v1 v1.1.0 Oct 3, 2017 v1.0.0 Sep 24, 2017 Changes in this version + type AveragedPerceptron struct + func NewAveragedPerceptron(weights map[string]map[string]float64, tags map[string]string, ...) *AveragedPerceptron + type PerceptronTagger struct + func NewPerceptronTagger() *PerceptronTagger + func NewTrainedPerceptronTagger(model *AveragedPerceptron) *PerceptronTagger + func (pt *PerceptronTagger) Classes() []string + func (pt *PerceptronTagger) Tag(words []string) []Token + func (pt *PerceptronTagger) TagMap() map[string]string + func (pt *PerceptronTagger) Train(sentences TupleSlice, iterations int) + func (pt *PerceptronTagger) Weights() map[string]map[string]float64 + type Token struct + Tag string + Text string + type TupleSlice [][][]string + func ReadTagged(text, sep string) TupleSlice + func (t TupleSlice) Len() int + func (t TupleSlice) Swap(i, j int)