sego

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL