Documentation
¶
Index ¶
- func CosineSimilar(srcWords, dstWords []string) float64
- func RemoveHtml(src string) string
- type GoJieba
- func (this *GoJieba) AddWords(words []string)
- func (this *GoJieba) Close()
- func (this *GoJieba) JiebaCut(rawStr string, useHmm bool, cutAll bool) (words []string)
- func (this *GoJieba) JiebaCutForSearch(rawStr string, useHmm bool)
- func (this *GoJieba) JiebaCutWithFrequency(rawStr string, useHmm bool, cutAll bool) (wordsFreqs map[string]int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CosineSimilar ¶
func RemoveHtml ¶
Types ¶
type GoJieba ¶
var GJB *GoJieba
func NewGoJieba ¶
func NewGoJieba() *GoJieba
func (*GoJieba) JiebaCutForSearch ¶
Click to show internal directories.
Click to hide internal directories.