Commit acb6fd34 authored by 甘泉's avatar 甘泉

分词

parent 09f3fa11
...@@ -98,7 +98,6 @@ def dosegment_all(sentence): ...@@ -98,7 +98,6 @@ def dosegment_all(sentence):
outstr += "{}/{},".format(x.word, x.flag) outstr += "{}/{},".format(x.word, x.flag)
return outstr return outstr
# 提取关键词 # 提取关键词
def extract_tags(content, topk=10): def extract_tags(content, topk=10):
content = content.strip() content = content.strip()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment