Crates.io | bitranslit |
lib.rs | bitranslit |
version | 0.3.1 |
source | src |
created_at | 2023-10-16 19:31:44.812731 |
updated_at | 2023-10-31 11:08:20.903907 |
description | Bi-directional transliterator for Rust. Transliterates strings according to the rules specified in the language packs. |
homepage | https://github.com/critocrito/bitranslit |
repository | https://github.com/critocrito/bitranslit |
max_upload_size | |
id | 1005040 |
size | 48,317 |
Bi-directional transliterator for Rust.
Report Bug
·
Request Feature
Bi-directional transliterator for Rust. Transliterates strings according to the rules specified in the language packs (source script <-> target script) and transliteration standards.
This crate uses the transliteration rules from the Python transliterate
package by Artur Barseghyan.
It comes with language packs for the following languages:
This code was developed to support investigations that took place at Der SPIEGEL and Paper Trail Media.
cargo add bitranslit
use bitranslit::Bulgarian;
let t = Bulgarian::new();
let _ = t.from_latin("Lorem ipsum dolor sit amet");
let _ = t.to_latin("Лорем ипсум долор сит амет");
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the LGPL-2.1-or-later License. See LICENSE.txt
for more information.
Christo Buschek - @christo_buschek - christo.buschek@proton.me
Project Link: https://github.com/critocrito/bitranslit