【文件属性】:
文件名称:kepy:kepy 是 Python 中的关键短语提取模块
文件大小:17KB
文件格式:ZIP
更新时间:2021-07-21 07:09:17
Python
保持
描述
Python 中基于单词的关键短语提取模块。
该模块的典型用法是:
import kepy
# Text file from which keyphrases are extracted. Input file is expected to
# be in one tokenized, POS tagged sentence per line format.
input_file = "/path/to/input.txt"
# create the extractor
e = kepy.WordBasedILPKeyphraseExtractor(args.input, use_stems=True)
# load the document
e.read_document()
# candidate selection
e.select_candidates()
#
【文件预览】:
kepy-master
----.gitignore(7B)
----__init__.py(42B)
----models()
--------__init__.py(25B)
--------word_based.py(7KB)
----utils.py(5KB)
----README.md(776B)
----LICENCE.md(34KB)