https://github.com/nicolas-raoul/jakaroma
Java library and command-line tool to transliterate Japanese kanji to romaji (Latin alphabet)
https://github.com/nicolas-raoul/jakaroma
converter japanese japanese-language java java-library kana kanji romaji
Last synced: 2 months ago
JSON representation
Java library and command-line tool to transliterate Japanese kanji to romaji (Latin alphabet)
- Host: GitHub
- URL: https://github.com/nicolas-raoul/jakaroma
- Owner: nicolas-raoul
- License: apache-2.0
- Created: 2016-04-11T09:21:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-15T09:22:27.000Z (7 months ago)
- Last Synced: 2025-04-02T12:07:29.095Z (3 months ago)
- Topics: converter, japanese, japanese-language, java, java-library, kana, kanji, romaji
- Language: Java
- Homepage:
- Size: 10.1 MB
- Stars: 65
- Watchers: 3
- Forks: 9
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jakaroma
Java kanji/etc-to-romaji converter.Jakaroma converts kanji and kana (katakana, hiragana) to romaji (Latin alphabet), which can be useful to make Japanese words more-or-less readable by readers who can not read Japanese. Example usage: A map app _might_ want to convert strings such as "ハレクラニ沖縄" to "Harekurani Okinawa" for users whose locale is not the Japanese language. We hope that results are _better than nothing_, but please note that many conversions are not perfect. Pull requests welcome!
Make sure you add the dependency below to your pom.xml before building your project.
```com.github.nicolas-raoul
jakaroma
1.0.0```
Usage:
Build a single jar file with
```
mvn clean compile assembly:single
``````
$ ./jakaroma.sh 六本木ヒルズ森タワー
Roppongi Hiruzu Mori Tawa-
```or just
```
java -cp "target/jakaroma-1.0.0-jar-with-dependencies.jar" fr.free.nrw.jakaroma.Jakaroma 六本木ヒルズ森タワー
Roppongi Hiruzu Mori Tawa-
```Or you can put it into your Maven project.
Powered by [Kuromoji](https://github.com/atilika/kuromoji).