Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "gse"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GseTokenizer ¶
type GseTokenizer struct {
// contains filtered or unexported fields
}
func NewGseTokenizer ¶
func NewGseTokenizer(dictPath, stopPath string, alpha bool) (*GseTokenizer, error)
NewGseTokenizer create a gse cut tokenizer
func (*GseTokenizer) Tokenize ¶
func (g *GseTokenizer) Tokenize(text []byte) analysis.TokenStream
Tokenize cut the text to bleve token stream
Click to show internal directories.
Click to hide internal directories.