Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Settings ¶
func NewSettings ¶
func (Settings) GetStemmer ¶
func (Settings) GetStopwords ¶
func (Settings) GetSynonyms ¶
type SimpleAnalyzer ¶
type SimpleAnalyzer struct {
Settings
}
func (SimpleAnalyzer) Analyze ¶
func (s SimpleAnalyzer) Analyze(text string) []string
func (SimpleAnalyzer) String ¶
func (s SimpleAnalyzer) String() string
type StandardAnalyzer ¶
type StandardAnalyzer struct {
Settings
}
func (StandardAnalyzer) Analyze ¶
func (s StandardAnalyzer) Analyze(text string) (result []string)
func (StandardAnalyzer) String ¶
func (s StandardAnalyzer) String() string
type WhitespaceAnalyzer ¶
type WhitespaceAnalyzer struct {
Settings
}
func (WhitespaceAnalyzer) Analyze ¶
func (w WhitespaceAnalyzer) Analyze(text string) []string
func (WhitespaceAnalyzer) String ¶
func (w WhitespaceAnalyzer) String() string
Click to show internal directories.
Click to hide internal directories.