Did you know ... | Search Documentation: |
Pack pinyin -- README.md |
Parsing and generating Hanyu Pinyin with SWI-Prolog
Please refer to the module documentation at http://www.swi-prolog.org/pack/file_details/pinyin/prolog/pinyin.pl
Assuming that you have SWI-Prolog >= 6.3 with libarchive installed, you can simply install this pack by entering the following at the SWI-Prolog prompt.
?- pack_install(pinyin).
Then, to use the pinyin module in your program:
:- use_module(library(pinyin)).