mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-27 07:30:32 +08:00
updated REAMD.md, fixed a small bug in textrank
This commit is contained in:
@@ -157,3 +157,7 @@ func TextRankWithPOS(sentence string, topK int, allowPOS []string) TfIdfs {
|
||||
func TextRank(sentence string, topK int) TfIdfs {
|
||||
return TextRankWithPOS(sentence, topK, defaultAllowPOS)
|
||||
}
|
||||
|
||||
func SetDictionary(dictFileName string) error {
|
||||
return posseg.SetDictionary(dictFileName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user