jiebago

package
v0.0.0-...-cb958a8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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 Jieba

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

func (*Jieba) Close

func (s *Jieba) Close() error

func (*Jieba) LoadDict

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

func (*Jieba) Segment

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

func (*Jieba) SegmentBy

func (s *Jieba) 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