GithubHelp home page GithubHelp logo

ppat's Introduction

People & Places Automated Translator

When translating games such as Crusader Kings 2 and Europa Universals 4, there are many names of places and people for translators to search in search engines and dictionaries, which will slow down their efficiency and enthusiasm. This project is aimed to translate the names automatedly but accurately.

Getting Started From Scratch

Notice: Your Python version should either be 3.5, 3.6 or 3.7. And if your platform is Windows, you should build or download espeak binary executable manually and put the espeak.exe in ppat/espeak/espeak.install/bin/ folder. Following instructions are for Debian family distributions (with APT).

  1. Clone project by git clone https://github.com/EnderQIU/ppat.git or git clone [email protected]:EnderQIU/ppat.git. If you want to clone espeak submodule at the same time, add --recursive option to the end.
  2. Simply run python setup.py install and follow the instructions in it.
  3. Command ppat is ready on your shell.

Usage

  • Most common usage:
$ ppat
!!!Welcome to PPAT transliterate engine!!!

#    _____  _____     _______
#   |  __ \|  __ \ /\|__   __|
#   | |__) | |__) /  \  | |
#   |  ___/|  ___/ /\ \ | |
#   | |    | |  / ____ \| |
#   |_|    |_| /_/    \_\_|
#
#

Version v1.0
Start loading rule files...

[OK] Rule file "/home/*************/rules/en-us.rule".

All rule files are loaded!
Input names of people or places after the prompt.
Type ":help" for more instructions.
  • Enable verbose mode to debug your rule files:
$ ppat verbose

Write Transliteration Rules

Transliteration rules are stored in ppat/rules directory. You can write your own rule for a specified language follow the en-us.rule example.

Acknowledgement

Portion of this software may utilize the following copyrighted materials, the use of which is hereby acknowledged.

Authors

License

This project is open-sourced under the GPL v3 License.

About Copyright

  1. No copyright infringement intended.
  2. If there is a copyright violation content, please e-mail [email protected] to delete.
  3. No money is being made of this project.

ppat's People

Contributors

enderqiu avatar whu-mt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.