Sanzang

Software Screenshot:
Sanzang
Software Details:
Version: 1.1.2
Upload Date: 17 Feb 15
Developer: yaoguai
Distribution Type: Freeware
Downloads: 8

Rating: nan/5 (Total Votes: 0)

Sanzang is an open source, cross-platform, simple, fast, free and compact machine translation system implemented in Ruby and designed from the ground up to be used for translating text from the Chinese, Korean and Japanese languages to English.

The program has been engineered in such a way that it can recognize both difficult to read and ancient CJK (Chinese, Japanese, Korean) texts. It’s crafted to be approachable and small, supporting Linux, BSD, Microsoft Windows and Mac OS X operating systems.

Develop your own translation rules

With Sanzang you will be able to develop your own translation rules, which are stored in a text file and can be easily applied at runtime. It includes several command-line options, which can be viewed at a glance by running the ‘sanzang --help’ command in the Terminal app.

Among these, we can mention the ‘batch’ command, which allows you to translate multiple files simultaneously, the ‘reflow’ command that lets you to format Chinese, Korean or Japanese text for translation, as well as the ‘translate’ command, which can be used for single text translations.

Getting started with Sanzang

Despite the fact that it is written in the Ruby programming language and that it uses a different configuration/compilation method, installing Sanzang proves to be an easy task for every Linux users.

First of all, you will have to download the latest version of the project from Softoware or via its official website (see link at the end of the article). Save the archive somewhere on your PC, extract it with your favorite archive manager, and open the Terminal app.

In the terminal emulator, the ‘cd’ command will help you to navigate to the location of the extracted archive files (e.g. cd /home/softoware/sanzang-1.1.2), where you will have to execute the ‘rake’ command to built the gem binary.

To install the gem file on your GNU/Linux machine, run the ‘sudo gem install --local dist/sanzang-1.1.2.gem’ command. Please note that the ruby-parallel package must be installed prior to attempting to install Sanzang.

What is new in this release:

  • This version cleans the translation table initialization code to be faster, cleaner, and simpler, adds an RDoc option to set the documentation encoding to UTF-8 for RDoc 3.x, so the documentation will build properly (including when installed as a gem), and adjusts the example and test translation tables to not use leading spaces and other deprecated table formatting.

What is new in version 1.1.1:

  • Horizontal space formatting has been updated so spaces will never be added to the end of a line. Horizontal spacing code has also been updated to be more robust.
  • A transcoding bug was also fixed in Sanzang::Translator#translate_io, which would be triggered if using Sanzang internals as a library, calling the method with file paths as the arguments, and using an encoding other than UTF-8.

Requirements:

  • Ruby

Screenshots

sanzang_1_70354.png
sanzang_2_70354.png

Similar Software

Doxygen
Doxygen

17 Feb 15

stsci.sphinxex
stsci.sphinxex

11 May 15

pywebuml
pywebuml

11 May 15

Comments to Sanzang

Comments not found
Add Comment
Turn on images!