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

make some public variable/function to private

This commit is contained in:
Wang Bin
2015-02-28 18:23:59 +08:00
parent 1c8d4fbf23
commit 8bf9888a1c
2 changed files with 5 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ func (ws wordWeights) Swap(i, j int) {
ws[i], ws[j] = ws[j], ws[i]
}
// Keyword extraction.
func ExtractTags(sentence string, topK int) (tags wordWeights) {
freq := make(map[string]float64)