Skip to content

Commit 1214497

Browse files
committedJun 8, 2019
update load model godoc
1 parent cad84f3 commit 1214497

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎gse.go

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ func (seg *Segmenter) String(bytes []byte, searchMode ...bool) string {
8383
}
8484

8585
// LoadModel load the hmm model
86+
//
87+
// Use the user's model:
88+
// seg.LoadModel(B, E, M, S map[rune]float64)
8689
func (seg *Segmenter) LoadModel(prob ...map[rune]float64) {
8790
hmm.LoadModel(prob...)
8891
}

0 commit comments

Comments
 (0)