【文件属性】:
文件名称:python_text_summarizer:Python自动文本摘要程序
文件大小:14KB
文件格式:ZIP
更新时间:2021-02-12 13:23:42
JupyterNotebook
Python文字摘要器
Python自动文本汇总器
安装
下载档案
git clone https://github.com/vschmidt/python_text_summarizer.git
安装依赖
cd python_text_summarizer
pip install -r env.txt
编辑参数
编辑输入,输出和句子数:
sents_qtd = 4 #Quantity of sents in summary
path = 'inputs/manifesto.txt' #Input path
new_path = 'outputs/word_freq.txt' #Output path
跑
python summarizer.py
【文件预览】:
python_text_summarizer-main
----inputs()
--------manifesto.txt(4KB)
----env.txt(10KB)
----Python Summarizer.ipynb(24KB)
----LICENSE(1KB)
----README.md(529B)
----outputs()
--------word_freq.txt(1KB)
----.gitignore(17B)
----summarizer.py(1KB)