sego

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() Segment

Types

type Sego

type Sego struct {
	// contains filtered or unexported fields
}

func (*Sego) Close

func (s *Sego) Close() error

func (*Sego) LoadDict

func (s *Sego) LoadDict(dictFile string, dictType ...string) error

func (*Sego) Segment

func (s *Sego) Segment(text string, args ...string) []string

func (*Sego) SegmentBy

func (s *Sego) SegmentBy(text string, mode string, args ...string) []string

Jump to

Keyboard shortcuts

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