Documentation ¶
Overview ¶
Package stemmer set of Snowball language stemmers, implemented as transform.Transformer (from golang.org/x/text/).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Arabic transform.Transformer = NewTransformer(arabic.Stem)
Arabic is a Snowball stemmer for Arabic
var Danish transform.Transformer = NewTransformer(danish.Stem)
Danish is a Snowball stemmer for Danish
var Dutch transform.Transformer = NewTransformer(dutch.Stem)
Dutch is a Snowball stemmer for Dutch
var English transform.Transformer = NewTransformer(english.Stem)
English is a Snowball stemmer for English
var Finnish transform.Transformer = NewTransformer(finnish.Stem)
Finnish is a Snowball stemmer for Finnish
var French transform.Transformer = NewTransformer(french.Stem)
French is a Snowball stemmer for French
var German transform.Transformer = NewTransformer(german.Stem)
German is a Snowball stemmer for German
var Hungarian transform.Transformer = NewTransformer(hungarian.Stem)
Hungarian is a Snowball stemmer for Hungarian
var Irish transform.Transformer = NewTransformer(irish.Stem)
Irish is a Snowball stemmer for Irish
var Italian transform.Transformer = NewTransformer(italian.Stem)
Italian is a Snowball stemmer for Italian
var Norwegian transform.Transformer = NewTransformer(norwegian.Stem)
Norwegian is a Snowball stemmer for Norwegian
var Porter transform.Transformer = NewTransformer(porter.Stem)
Porter is a Porter stemmer
var Portuguese transform.Transformer = NewTransformer(portuguese.Stem)
Portuguese is a Snowball stemmer for Portuguese
var Romanian transform.Transformer = NewTransformer(romanian.Stem)
Romanian is a Snowball stemmer for Romanian
var Russian transform.Transformer = NewTransformer(russian.Stem)
Russian is a Snowball stemmer for Russian
var Spanish transform.Transformer = NewTransformer(spanish.Stem)
Spanish is a Snowball stemmer for Spanish
var Swedish transform.Transformer = NewTransformer(swedish.Stem)
Swedish is a Snowball stemmer for Swedish
var Tamil transform.Transformer = NewTransformer(tamil.Stem)
Tamil is a Snowball stemmer for Tamil
var Turkish transform.Transformer = NewTransformer(turkish.Stem)
Turkish is a Snowball stemmer for Turkish
Functions ¶
This section is empty.
Types ¶
type StemFunc ¶
type StemFunc func(*snowballstem.Env) bool
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
func NewTransformer ¶
func NewTransformer(stem StemFunc) *Transformer
func (*Transformer) Reset ¶
func (t *Transformer) Reset()