Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    xpinyin 0.4.5

    Download button

    No screenshots available
    Downloads: 196  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Eric Lo | More programs
    MIT/X Consortium Lic... / FREE
    September 1st, 2012, 23:22 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    xpinyin description

    Translate Chinese hanzi to pinyin by Python

    xpinyin is a Python module to translate Chinese hanzi to pinyin, inspired by flyerhzm’s chinese_pinyin gem.

    Usage

    In [1]: from xpinyin import xpinyin

    In [2]: p = xpinyin.Pinyin()

    In [3]: p.get_pinyin(u"上海")
    Out[3]: 'shanghai'

    In [4]: p.get_initials(u"上")
    Out[4]: 'S'



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Chinese hanzi | pinyin translator | Chinese | hanzi | pinyin

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM