libpinyin playground

epico edited this page Dec 8, 2011 · 8 revisions

Note: this document is provided for interested users and developers to try libpinyin.

This is a preview version, the 0.3.x series will come soon.

1. How to prepare the data file for libpinyin.

Compile this package as usual

  • download libpinyin source tar ball;

  • tar xvf libpinyin-*.tar.gz;

  • cd libpinyin-*;

  • run "./configure"

  • run "make"

2. Try the intelligent pinyin to characters conversion.

  • enter "tests/" sub-directory, then try "./test_pinyin";

  • try other tools in tests sub-directory.