GithubHelp home page GithubHelp logo

ogysha / translit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nick-buhro/translit

0.0 0.0 0.0 1.71 MB

C# library for cyrillic-latin transliteration (support only slavik languages) by GOST 7.79-2000 (ISO 9).

License: MIT License

Smalltalk 35.40% C# 64.53% Batchfile 0.07%

translit's Introduction

NickBuhro.Translit

License NuGet Badge Build status Coverage Status

C# library for cyrillic-latin transliteration by ISO 9 (ГОСТ 7.79—2000) on System B (only for slavik languages).

Both direction transliteration is supported:

  • cyrillic to latin
  • latin to cyrillic

It could be specified concrete language from list:

  • Russian
  • Belorussian
  • Ukrainian
  • Bulgarian
  • Makedonian

Installation

It's available over NuGet:

Install-Package NickBuhro.Translit

Usage

// Cyrillic to latin example

var latin = Transliteration.CyrillicToLatin("Предками данная мудрость народная!", Language.Russian);
Console.WriteLine(latin);	// Output: Predkami dannaya mudrost` narodnaya!

// Latin to cyrillic example

var cyrillic = Transliteration.LatinToCyrillic("Predkami dannaya mudrost` narodnaya!", Language.Russian);
Console.WriteLine(cyrillic);	// Output: Предками данная мудрость народная!

Running the tests

Solution includes:

Compatibility

The library uses no references except for System - it has no external dependencies. It is cross compiled to:

  • .NET Framework 2.0 and above
  • .NET Standard 1.3

translit's People

Contributors

nick-buhro avatar unholyhub 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.