A service to convert chinese languages (mandarin. cantonese. shanghainese..) into their transliterated form. to segment them etc.
The license only apply to the source code The data files are provided only as example
If you never used cmake
have a look at this tutorial.
git clone git://github.com/allan-simon/sinoparserd
sudo apt-get install libexpat1{,-dev} libevent-{2.0-5,dev} cmake
cd sinoparserd/ && cmake ./ && make
This should output something like:
./sinoparserd -c doc/cantonese.xml -m doc/mandarin.xml -p PORT
That will launch an HTTP server listening on port PORT
. If the option -p
is missing it will listen on port 8080
it provides the following API call, that will return a XML answer
All the source code is licensed under GPLv3, the xml files are under their own license, it's a "open one" but i need to check which one, certainly CC-BY-SA so for the moment I would recommend people to use their own data files for "public usage" and use the provided xml only for "test" purpose.