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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user