Documentation ¶ Index ¶ func New() Segment func SetDictDir(dictDir string) type Jieba func (s *Jieba) Close() error func (s *Jieba) LoadDict(dictFile string, dictType ...string) error func (s *Jieba) Segment(text string, args ...string) []string func (s *Jieba) SegmentBy(text string, mode string, args ...string) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() Segment func SetDictDir ¶ func SetDictDir(dictDir string) 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 Source Files ¶ View all Source files gojieba.go Click to show internal directories. Click to hide internal directories.