• 大小: 59KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-24
  • 语言: Python
  • 标签: NLP  

资源简介

textrank自动文摘抽取python代码,已经打包好,可以当作工具直接用,也可以作为python练习

资源截图

代码片段和文件信息

# -*- coding: utf-8 -*-
from distutils.core import setup
LONGDOC = “““
Please go to https://github.com/someus/TextRank4ZH for more info.
“““

setup(
    name=‘textrank4zh‘
    version=‘0.3‘
    description=‘Extract keywords and abstract Chinese article‘
    long_description=LONGDOC
    author=‘Letian Sun‘
    author_email=‘sunlt1699@gmail.com‘
    url=‘https://github.com/someus/TextRank4ZH‘
    license=“MIT“
    classifiers=[
        ‘Intended Audience :: Developers‘
        ‘License :: OSI Approved :: MIT License‘
        ‘Operating System :: OS Independent‘
        ‘Natural Language :: Chinese (Simplified)‘
        ‘Natural Language :: Chinese (Traditional)‘
        ‘Programming Language :: Python :: 2‘
        ‘Programming Language :: Python :: 2.7‘
        ‘Programming Language :: Python :: 3‘
        ‘Programming Language :: Python :: 3.4‘
        ‘Topic :: Text Processing‘
        ‘Topic :: Text Processing :: Linguistic‘
    ]
    keywords=‘NLPChineseKeywords extraction Abstract extraction‘
    install_requires=[‘jieba >= 0.35‘ ‘numpy >= 1.7.1‘ ‘networkx >= 1.9.1‘]
    packages=[‘textrank4zh‘]
    package_dir={‘textrank4zh‘:‘textrank4zh‘}
    package_data={‘textrank4zh‘:[‘*.txt‘]}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-01 11:39  TextRank4ZH-master\
     文件        6148  2018-11-01 11:39  TextRank4ZH-master\.DS_Store
     目录           0  2018-11-14 11:58  __MACOSX\
     目录           0  2018-11-14 11:58  __MACOSX\TextRank4ZH-master\
     文件         120  2018-11-01 11:39  __MACOSX\TextRank4ZH-master\._.DS_Store
     文件        1078  2018-07-02 21:53  TextRank4ZH-master\LICENSE
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\._LICENSE
     目录           0  2018-11-01 11:44  TextRank4ZH-master\textrank4zh\
     文件        6148  2018-11-01 11:44  TextRank4ZH-master\textrank4zh\.DS_Store
     目录           0  2018-11-14 11:58  __MACOSX\TextRank4ZH-master\textrank4zh\
     文件         120  2018-11-01 11:44  __MACOSX\TextRank4ZH-master\textrank4zh\._.DS_Store
     文件        6426  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\util.py
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\._util.py
     文件        5710  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\TextRank4Keyword.py
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\._TextRank4Keyword.py
     文件         221  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\__init__.py
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\.___init__.py
     目录           0  2018-10-30 23:12  TextRank4ZH-master\textrank4zh\__pycache__\
     文件        6556  2018-10-29 11:56  TextRank4ZH-master\textrank4zh\__pycache__\util.cpython-36.pyc
     文件        3306  2018-10-29 11:56  TextRank4ZH-master\textrank4zh\__pycache__\TextRank4Sentence.cpython-36.pyc
     文件        5052  2018-10-29 11:56  TextRank4ZH-master\textrank4zh\__pycache__\TextRank4Keyword.cpython-36.pyc
     文件        5688  2018-10-29 11:56  TextRank4ZH-master\textrank4zh\__pycache__\Segmentation.cpython-36.pyc
     文件         364  2018-10-29 11:56  TextRank4ZH-master\textrank4zh\__pycache__\__init__.cpython-36.pyc
     文件        3751  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\TextRank4Sentence.py
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\._TextRank4Sentence.py
     文件        7374  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\stopwords.txt
     文件         268  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\._stopwords.txt
     文件        5775  2018-07-02 21:53  TextRank4ZH-master\textrank4zh\Segmentation.py
     文件         212  2018-07-02 21:53  __MACOSX\TextRank4ZH-master\textrank4zh\._Segmentation.py
     目录           0  2018-10-30 23:13  TextRank4ZH-master\test\
     文件         196  2018-07-02 21:53  TextRank4ZH-master\test\codecs_test.py
............此处省略43个文件信息

评论

共有 条评论