Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseDictName = "dict.txt" UserDictDirName = "user" BaseProbName = "prob_emit.txt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SegmentHandler ¶
type SegmentHandler struct {
// contains filtered or unexported fields
}
func MewSegmentHandler ¶
func MewSegmentHandler(dictRootPath string) (*SegmentHandler, error)
func (*SegmentHandler) SegParagraph ¶
func (h *SegmentHandler) SegParagraph(s string, mode ModeStyle) []*SegToken
Click to show internal directories.
Click to hide internal directories.