EnglishFrenchSpanish

OnWorks favicon

libpinyin - Online in the Cloud

Run libpinyin in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command libpinyin that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


libpinyin - Library to deal with pinyin

DESCRIPTION


The libpinyin project aims to provide the algorithms core for intelligent sentence-based
Chinese pinyin input methods.

TOOLS


gen_binary_files - generate initially binary pinyin libraries import_interpolation -
import libpinyin textual format model data gen_unigram - increase the unigram frequency
for all phrases

USAGE


gen_binary_files --table-dir <DIRNAME>

--table-dir Read textual format files from the <DIRNAME> directory.

import_interpolation < <MODELFILE>

gen_unigram

EXAMPLE


Download the model.text.tar.gz, and extracts all files into the data sub-directory, then
run the commands below to generate the binary model data.

gen_binary_files --table-dir ../data

import_interpolation < ../data/interpolation.text

gen_unigram

Use libpinyin online using onworks.net services


Ad


Ad