Documentation ¶ Index ¶ func New() Segment type Sego func (s *Sego) Close() error func (s *Sego) LoadDict(dictFile string, dictType ...string) error func (s *Sego) Segment(text string, args ...string) []string func (s *Sego) SegmentBy(text string, mode string, args ...string) []string 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 Source Files ¶ View all Source files sego.go Click to show internal directories. Click to hide internal directories.