>>> import jieba
>>> import os
>>> f = open("E:/西方哲学史.txt",'r')
>>> f = f.read()
>>> seg_list = jieba.cut(f)
>>> print("jingque:","/".join(seg_list))
>>> import jieba.analyse
>>> tags = jieba.analyse.extract_tags(f,topK = 10)
>>> print("Keyword:","/".join(tags))
Keyword: 哲学/一种/教会/哲学家/他们/对于/一个/时代/教皇/罗马
>>> import os
>>> f = open("E:/西方哲学史.txt",'r')
>>> f = f.read()
>>> seg_list = jieba.cut(f)
>>> print("jingque:","/".join(seg_list))
>>> import jieba.analyse
>>> tags = jieba.analyse.extract_tags(f,topK = 10)
>>> print("Keyword:","/".join(tags))
Keyword: 哲学/一种/教会/哲学家/他们/对于/一个/时代/教皇/罗马