推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
python30
V2EX  ›  Python

Python +django 开发网站。怎么根据内容或标题自动生成 tag 标签? 跟 V2EX 生成标签的方式差不多,不知道有什么思路没有?

  •  
  •   python30 · Apr 10, 2019 · 3141 views
    This topic created in 2725 days ago, the information mentioned may be changed or developed.
    python +django 开发网站。怎么根据内容或标题自动生成 tag 标签? 跟 V2EX 差不多,不知道有什么思路没有?

    比如内容里有,某个省 市 县 镇 或者 某个名词
    会自动生成一个相关的标签?

    不知道有什么思路没有?
    4 replies  •  2019-04-10 09:54:54 +08:00
    Hyponet
        1
    Hyponet  
       Apr 10, 2019
    结巴分词
    scriptB0y
        2
    scriptB0y  
       Apr 10, 2019 via iPhone
    v2ex,是用的 bosondata 的,我帮你艾特下
    @bosondata @alpha7happy @messense
    cyril4free
        3
    cyril4free  
       Apr 10, 2019
    跟语言没啥关系,就是找内容里的关键字,可能有个词库,里边放的是各种关键词,分词之后匹配词库
    shawndev
        4
    shawndev  
       Apr 10, 2019
    结巴分词,和现有的 tag 取交集。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1022 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 23:18 · PVG 07:18 · LAX 16:18 · JFK 19:18
    ♥ Do have faith in what you're doing.