Chinese Dictionary
Access our comprehensive Chinese-English/English-Chinese dictionary with over 100,000 entries powered by CC-CEDICT.
View Dictionary →Your comprehensive resource for Chinese language learning. Add pinyin pronunciation, use our dictionary, and annotate any Chinese text.
Access our comprehensive Chinese-English/English-Chinese dictionary with over 100,000 entries powered by CC-CEDICT.
View Dictionary →Add pronunciation to any Chinese text using Hanyu Pinyin or Zhuyin Fuhao notation.
Annotate Text →Use our bookmarklet to annotate Chinese text on any website directly in your browser.
Get Bookmarklet →Integrate Chinese annotations into your own website with our free public API for webmasters.
View API →This site is designed to help you in your study of Chinese language and reading Chinese online. Here you can add Mandarin pronunciation to any Chinese text as either:
You can use both Traditional and Simplified Chinese characters as long as you don't mix them inside one word.
This site uses the CC-CEDICT dictionary maintained and made available by MDBG Chinese-English dictionary. The version used on this site contains over 100,000 entries.
The HSK vocabulary list used by the annotator was taken from HSK Flashcards website.
If you have any questions, concerns or suggestions, your feedback is very much appreciated.
This is intended to be used by webmasters/bloggers wishing to add pop-up annotation to their web pages. If you are interested in adding this functionality to your browser instead, you should look at the annotation bookmarklet.
Yes, this is completely free.
Add the following before </body>, where you'd usually put Google analytics and such
<script src="//mandarinspot.com/static/mandarinspot.min.js" charset="UTF-8"></script> <script>mandarinspot.annotate();</script>
That's it. It should work with all the assumed defaults.
The script can be loaded anywhere, but to avoid delaying loading of the main content, it either needs to be done asynchronously or at the bottom of the body as suggested above.
The call to the annotate() has to be done after the script is loaded and the DOM (at least the part that we want to annotate) is ready. Again, placing the call at the bottom of the page, as suggested in the previous section, will work well.
The main call is mandarinspot.annotate(selector, options). Both arguments are optional.
selector can either be:
If omitted, document.body is used.
options is an object with three optional members:
phonetic, can either be "pinyin" or "zhuyin", pinyin is the default;show, boolean value to indicate whether pop-ups need to be shown initially, default is true;inline, boolean value to indicate whether phonetics should also be shown inline above text, default is false;These two calls can be used to switch pop-ups on and off respectively
mandarinspot.showPopups(true); mandarinspot.showPopups(false);
If you want pop-ups initially be inactive, you can call it like this:
<script>mandarinspot.annotate('#annotste-this', {phonetic: 'pinyin', show: false});</script>It's now also possible to show phonetics above text. To do this you need to add option inline: true like this:
<script>mandarinspot.annotate('#annotste-this', {inline: true});</script>To control visibility of inline phonetics you can use the following calls:
mandarinspot.showInline("visible") - to show inline,mandarinspot.showInline("hidden") - to hide phonetics without reformating text,mandarinspot.showInline(false) - to remove phonetics completely.This doesn't work in IE7 and earlier and all versions of Opera before 12.00 due to cross origin requests not being implemented properly in these browsers. So if you choose to have pop-ups on/off switchable, you probably have to hide the switch UI element in case it can't work.
To detect whether API is supported in the browser you can call mandarinspot.supported(), which will return true or false based on best guess after detecting some browser features.
This is the new recommended bookmarklet you can use to add pop-up annotations to any web page.
In order to use it, drag one of the following links to your bookmark bar or right-click and choose Add to Favorites:
On mobile devices: bookmark this page, select all text in one of the following text areas and copy it into clipboard, edit just created bookmark, replace URL with just copied text.
All Chinese text found on the page is sent to the MandarinSpot server for segmentation and retrieval of the dictionary definitions. This information is not stored in any form on the server.
Webmasters: If you want to add this functionality directly to your website, have a look our public API page.