Coder Social home page Coder Social logo

sbtrans's Introduction

=======

A minimalist (ha, ha) transliteration library built by UCSB ComplingFTW!

What is transliteration?

Transliteration is the conversion of a text from one script or alphabet to another. For instance, the Greek phrase "Ελληνική Δημοκρατία" 'Hellenic Republic' can be transliterated as "Ellēnikē Dēmokratia" by substituting Greek letters for Latin letters.

Using this Library

It's all in the source code, yo. For now.

Also, more instructions coming soon.

How to Add a Scheme

The rule format for sbtrans is very simple: it consists of a directory which is named for the language that the transliteration rules are applied to, which contains a .txt file whose name is of the form <before>2<after>.txt. Here, before is the name of the input scheme, and after is the name of the output scheme.

A Sample Transliteration Scheme

So for instance, the Esperanto has two writing systems, the so-called “X-System” and the “Diacritical” or “Full” system. Esperanto letters with diacritics can be converted to plain text by changing the letter to its standard Latin form followed by an x.

Here are the contents of rules/esperanto/x2full.txt:

Cx
Ĉ

cx
ĉ

Gx
Ĝ

gx
ĝ

…and so forth. In order to contribute a new transliteration scheme, one would simply compile a file in this form, put it into a directory named for the language, and then either commit that file through this github project, or simply email it to us. You will be credited for your work!

Contact Us

You can reach us through our Facebook group ComplingFTW.

License

MIT

(Yes, we appreciate the irony.)

sbtrans's People

Contributors

metasyn avatar jmangel avatar shannonl avatar

Watchers

James Cloos avatar  avatar Julia Quinn avatar

Forkers

swphantom

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.