mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-30 00:50:30 +08:00
small refactor
This commit is contained in:
@@ -22,7 +22,7 @@ type Viterbi struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (v Viterbi) String() string {
|
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
|
type Viterbis []*Viterbi
|
||||||
|
|||||||
Reference in New Issue
Block a user