V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
pandada8
V2EX  ›  Python

python中有能将汉字转换成拼音的库么

  •  
  •   pandada8 · Jun 24, 2013 via Android · 5568 views
    This topic created in 4694 days ago, the information mentioned may be changed or developed.
    用pelican写博客的时候自动把地址给转换成拼音了…深觉屌炸
    11 replies    1970-01-01 08:00:00 +08:00
    jjx
        1
    jjx  
       Jun 24, 2013
    Perry
        2
    Perry  
       Jun 24, 2013 via iPhone
    试试unicodedata
    DH
        3
    DH  
       Jun 24, 2013
    slugify 就行
    Perry
        4
    Perry  
       Jun 24, 2013
    Perry
        5
    Perry  
       Jun 24, 2013
    Perry
        6
    Perry  
       Jun 24, 2013
    好吧。。最后一次贴gist:
    http://gist.github.com/5847732
    jerry
        7
    jerry  
       Jun 24, 2013
    @jjx 我用Python实现了一次 https://github.com/jiedan/chinese_pinyin
    jjx
        8
    jjx  
       Jun 24, 2013
    @jerry 晕,其实我就是想贴你这个来着
    pandada8
        9
    pandada8  
    OP
       Jun 24, 2013 via Android
    @jjx
    @Perry
    @DH
    @jerry
    谢谢
    guoqiao
        10
    guoqiao  
       Jun 25, 2013
    unidecode挺好使
    kingxsp
        11
    kingxsp  
       Jun 25, 2013
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2415 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 11:07 · PVG 19:07 · LAX 04:07 · JFK 07:07
    ♥ Do have faith in what you're doing.