mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-05 00:32:51 +08:00
small refactor
This commit is contained in:
@@ -22,7 +22,7 @@ type Viterbi struct {
|
||||
}
|
||||
|
||||
func (v Viterbi) String() string {
|
||||
return fmt.Sprintf("(%f, %s)", v.prob, v.state)
|
||||
return fmt.Sprintf("(%f, %x)", v.prob, v.state)
|
||||
}
|
||||
|
||||
type Viterbis []*Viterbi
|
||||
|
||||
Reference in New Issue
Block a user