Documentation ¶
Index ¶
- func Classify(text string) string
- func English_tokenizer(s string) []string
- func Flush()
- func Occurances(words []string) map[string]uint
- func Score(text string) map[string]float64
- func Tally(category string) (sum uint64)
- func Tidy(s string) string
- func Train(categories, text string)
- func Untrain(categories, text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func English_tokenizer ¶
tidy the input text, ignore those text composed with less than 2 chars
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.