GithubHelp home page GithubHelp logo

kakasi-java's Introduction

Kakasi-java
Convert Japanese kanji into romaji
See also http://kakasi.namazu.org

Originally written by Tomoyuki Kawao
Forked from the last code found at http://blog.kenichimaehashi.com/?article=13048363750
If you know any more recent version, please let me know by email nicolas.raoul at gmail

To build just run: ant

Usage: java -Dkakasi.home=. -jar lib/kakasi.jar [-JH | -JK | -Ja] [-HK | -Ha] [-KH | -Ka]
		[-i<input-encoding>] [-o<output-encoding>]
		[-p] [-f] [-c] [-s] [-b]
		[-r{hepburn|kunrei}] [-C | -U] [-w]
		[dictionary1 [dictionary2 [,,,]]]

	Character Set Conversions:
	 -JH: kanji to hiragana
	 -JK: kanji to katakana
	 -Ja: kanji to romaji
	 -HK: hiragana to katakana
	 -Ha: hiragana to romaji
	 -KH: katakana to hiragana
	 -Ka: katakana to romaji

	Options:
	 -i: input encoding
	 -o: output encoding
	 -p: list all readings (with -J option)
	 -f: furigana mode (with -J option)
	 -c: skip whitespace chars within jukugo
	 -s: insert separate characters
	 -b: output buffer is not flushed when a newline character is written
	 -r: romaji conversion system
	 -C: romaji Capitalize
	 -U: romaji Uppercase
	 -w: wakachigaki mode

Example:
java  -Dkakasi.home=. -jar lib/kakasi.jar -Ja
国際財務報告基準
kokusaizaimuhoukokukijun

Original documentation (in Japanese): http://nicolas-raoul.github.com/kakasi-java

You might also be interested in MeCab, which is not 100% Java (JNI binding) but considered by many as more performant:
http://code.google.com/p/mecab/source/browse/#svn%2Ftrunk%2Fmecab%2Fjava

kakasi-java's People

Contributors

nicolas-raoul avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.