Skip to content

Commit

Permalink
update cutDADNOHMM remove unused buf make
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed May 26, 2020
1 parent fc34b2d commit 82e953c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (seg *Segmenter) cutDAGNoHMM(str string) []string {

if len(buf) > 0 {
result = append(result, string(buf))
buf = make([]rune, 0)
// buf = make([]rune, 0)
}

return result
Expand Down

0 comments on commit 82e953c

Please sign in to comment.