Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Transliterate Cyrillic → Latin in every possible way (Java version)

License

NotificationsYou must be signed in to change notification settings

Homyakin/iuliia-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transliterate Cyrillic → Latin in every possible way

Transliteration means representing Cyrillic data (mainly names and geographic locations) with Latin letters. It is used for international passports, visas, green cards, driving licenses, mail and goods delivery etc.

Why useIuliia

  • 20 transliteration schemas (rule sets), including all main international and Russian standards.
  • Correctly implements not only the base mapping, but all the special rules for letter combinations and word endings (AFAIK, Iuliia is the only library which does so).
  • Simple API.

For schema details and other information, seehttps://dangry.ru/iuliia (in Russian).

Installation

Java 17 or higher (recommended)

Maven dependency

<dependency>    <groupId>ru.homyakin</groupId>    <artifactId>iuliia-java</artifactId>    <version>2.0.0</version></dependency>

Gradle

implementation'ru.homyakin:iuliia-java:2.0.0'

Java 11 or higher

Latest version for java 11 is1.8

Usage

Transliterate using specified schema:

importru.homyakin.iuliia.Schemas;importru.homyakin.iuliia.Translator;publicclassClazz {publicstaticvoidtest() {finalvartranslator =newTranslator(Schemas.ICAO_DOC_9303);translator.translate("Юлия");//Iuliia    }}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp