1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-17 16:40:25 +08:00

added example_test.go, rename analyse_test.go to tag_extracker_test.go, removed bench.sh

This commit is contained in:
Wang Bin
2015-05-06 15:57:05 +08:00
parent 4e8887da5e
commit f96acf3e85
5 changed files with 24 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
#!/bin/sh
go test -run=XXX -v -bench=BenchmarkViterbi -benchtime 10s -benchmem -memprofile viterbi-mem.out -cpuprofile viterbi-cpu.out
go tool pprof -png -output ~/tmp/viterbi-cpu.png posseg.test viterbi-cpu.out
go tool pprof -png -output ~/tmp/viterbi-mem.png posseg.test viterbi-mem.out

View File

@@ -1,3 +1,4 @@
// Package posseg is the Golang implementation of Jieba's posseg module.
package posseg
import (