1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-05 00:32:51 +08:00

small refactor

This commit is contained in:
Wang Bin
2015-02-26 10:29:17 +08:00
parent c076a14f76
commit c7218ce886

View File

@@ -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