Skip to main content

Translate from Chinese, Japanese, or Korean.

Project description

Sanzang Utils
=============

The Sanzang Utilities are a small collection of programs for translating from
Chinese, Japanese, and Korean (the CJK languages). These tools can be used for
generating rough but useful translations that closely follow the source text.
These programs are available under the MIT License.

The Sanzang translation tools use a delimited text file for storing translation
rules, and a command-based editor is also included that can do both interactive
editing and scripted table editing. The utilities included in this package are:

* szu-ed(1) - Command-based translation table (ed)itor
* szu-r(1) - Preprocessor for (r)eformatting CJK text
* szu-t(1) - The main (t)ranslation program
* szu-ss(1) - Make (s)tring (s)ubstitutions

These programs all come with the appropriate Unix manual pages. Documentation
aims to be complete and accurate. Missing or inaccurate information may be
filed as a bug.

Installation
------------

To run these programs, Python 3.x is required. Installation on a Unix-like
platform is advised, but Windows is possible too. If you must use Windows, then
Cygwin is the best environment for these programs.

To install these programs the "Python way," you can use setup.py::

# python3 setup.py install

Otherwise, you could do it the "Unix way" by using the makefile::

# make install

If you install with the Makefile, you can also uninstall with the makefile::

# make uninstall

The choice of which installation method to use is just a personal preference.

Learning more
-------------

After installing Sanzang Utils, you may read the tutorial which is included in
this package. The tutorial gives an introduction to each aspect of the system,
including how to develop and apply your own translation tables.

Development
-----------

Versions of Sanzang Utils follow the scheme N.N.N, indicating the major
version, minor version, and the patch number. The patch number is incremented
for sets of small updates or bug fixes, the minor number indicates some new
feature or new behavior, and the major number indicates a big change or new and
incompatible behavior.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

sanzang-utils-1.0.1.tar.gz (15.4 kB view details)

Uploaded Source

sanzang-utils-1.0.0.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file sanzang-utils-1.0.1.tar.gz.

File metadata

  • Download URL: sanzang-utils-1.0.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sanzang-utils-1.0.1.tar.gz
Algorithm Hash digest
SHA256 52402396a73bb643df1a1ff932ee821e77e5051d2d1fe97d133c79e6e8b634c6
MD5 f2a37ccad84702571cf1834d2a32d842
BLAKE2b-256 7d08885d37da9ee302d8b6c7ca5de55c26db9981208e76b170fb186dd32c909b

See more details on using hashes here.

File details

Details for the file sanzang-utils-1.0.0.tar.gz.

File metadata

  • Download URL: sanzang-utils-1.0.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sanzang-utils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3c5a3599d69c046160fc77a4c2c8f63ff1dc199e6a82a4073155d3d40d00e783
MD5 e032cbff29611c1f74cbc9d994ec3c24
BLAKE2b-256 511f3bdc966ea8d7ce5a85b6e188b015d07edfc4be57c1a75cfa5f6960b807c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page