Skip to main content
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 written in Python 3 and 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 editor
* szu-r (1) - Preprocessor for reformatting CJK text
* szu-t (1) - The main translation program
* szu-ss (1) - Make string substitutions

These programs all come with standard Unix manual pages, and a tutorial is also
available. Program 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.

* *Sanzang Homepage* <http://lapislazulitexts.com/sanzang>
* *Sanzang: Introduction* <http://lapislazulitexts.com/articles/sanzang_intro>
* *Sanzang Utils Tutorial* <http://lapislazulitexts.com/articles/szu_tutorial>

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

GitHub project: <https://github.com/yaoguai/sanzang-utils>

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.

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.1.0.tar.gz (16.8 kB view details)

Uploaded Source

sanzang-utils-1.0.5.tar.gz (16.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sanzang-utils-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f4a98fba57621bc01c89bb2f10806bd7ccad7452bf3f080abee0e8e206d61705
MD5 c7afc2b493dfcb7973db9815674fbf2e
BLAKE2b-256 df9c6c5c6c563655c9859f50d7e68150d69eaa44664707b435e7c30002165901

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sanzang-utils-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e27ceec0edf5e6747c7b99044979f093af7b06a53608d61c3cbb3b69acce2955
MD5 cb67e8478fd4b1bcb5f4bc831a06d489
BLAKE2b-256 ce06b3eee4b08a2537e39499fff7cd16f230c0dac917b2723b48e95d526f423c

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.3

1 file

1.3.2

1 file

1.3.1

1 file

1.3.0

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.2

1 file

1.1.1

1.1.0

1 file

This release

1.0.5 This release

2 files

1.0.4

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page