mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-28 08:02:45 +08:00
code refactor, added more documents
This commit is contained in:
@@ -11,9 +11,8 @@ type probTransMap map[uint16]float64
|
||||
func (m probTransMap) Get(key uint16) float64 {
|
||||
if value, ok := m[key]; ok {
|
||||
return value
|
||||
} else {
|
||||
return inf
|
||||
}
|
||||
return inf
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user