OnWorks favicon

genpyt - Online in the Cloud

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

This is the command genpyt 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



genpyt - generate the PINYIN lexicon


genpyt lexicon-file result-file log-file slm-file


genpyt is used to generate the PINYIN lexicon. It only works on zh_CN.UTF-8 locale.


Specify a dictionary file. It should be a line-based text file in utf-8 encoding .
Each line looks like:

CCC id [pinyin'pinyin'pinyin]*

A default dictionary file can be found at /usr/share/sunpinyin/dict.utf8.

The output binary PINYIN lexicon file. This lexicon contains a trie presenting the key
tree of PINYIN. And all of the candiate words are sorted using the unigram in slm-
file. This file can be used with sunpinyin input method engines.

Specify the file to where the log goes. The log-file can be seen as the human-readble
presentation of the binary output file.

The language model from which the unigram information are retrieved. Typically, the
slm-file is generated by slmthread.

Use genpyt online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenFOAM - The Open Source CFD Toolbox.
    OpenFOAM is a generic, programmable
    software tool for Computational Fluid
    Dynamics (CFD). For more information,
    see: - ...
    Download OpenFOAM
  • 2
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 3
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands