Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does .NET transliteration library exists? [closed]

Does .NET Transliteration library exists ? Note that this is not translation, something like this Perl lib :

http://www.lingua-systems.com/transliteration/Lingua-Translit-Perl-module/

I just find :

http://transliterator.codeplex.com/

like image 771
Antonio Bakula Avatar asked Apr 05 '12 10:04

Antonio Bakula


1 Answers

Check my UnidecodeSharpFork.

It's based on great Python Unidecode transliteration tables, support many languages.

Example usage:

Assert.AreEqual("CZSczs", "ČŽŠčžš".Unidecode());
Assert.AreEqual("Hello, World!", "Hello, World!".Unidecode());
Assert.AreEqual("Rabota s kirillitsey", "Работа с кириллицей".Unidecode());

Simple, fast and powerful. And it's easy to extend/modify transliteration table if you want to.

like image 166
Dima Stefantsov Avatar answered Oct 23 '22 06:10

Dima Stefantsov