Jump to content
Chinese-Forums
  • Sign Up

A small tool written in Python: Pinyin Convertor


EricHsu

Recommended Posts

hi all, it's my first post, I've written a small tool for converting pinyin with numeric tones to pinyin with real tones. You can write pinyin like this "da4 jia1 hao3" and save them in a file, and them run this python script to convert them into pinyin with real tones marked above the characters.

You could download it from my website, and you can see the examples here: before | converted (pls note: view them with your browser's charater encoding set to "UTF-8" : )

You will need a python environment to run this small tool, get python here.

I wrote this tool for a German friend sometime ago, may it be useful for you too :D

Please feel free to post if you have any question : )

Link to comment
Share on other sites

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...