Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "sego"
Variables ¶
View Source
var DictDir string
Functions ¶
This section is empty.
Types ¶
type SegoTokenizer ¶
type SegoTokenizer struct {
// contains filtered or unexported fields
}
func NewSegoTokenizer ¶
func NewSegoTokenizer(dictPath string) *SegoTokenizer
func (SegoTokenizer) Tokenize ¶
func (s SegoTokenizer) Tokenize(text []byte) analysis.TokenStream
Click to show internal directories.
Click to hide internal directories.