Skip to content
Library for processing Japanese text
Scala
Failed to load latest commit information.
lib
src
.gitignore
LICENSE
README.md
build.sbt

README.md

jcore

Library for processing Japanese text

Runs text through Kuromoji, a Japanese morphlogical analyzer and cleans up the results. Also has support for furigana generation.

Using jcore

There's not much to it at the moment. This example program shows the aquisition of a sentence:

import com.stephenmac7.jcore.UnidicImporter

object Main {
    def main(args: Array[String]) = {
        val sentence = UnidicImporter.toSentence("お寿司が食べたい。")
        println(sentence)
    }
}

Thanks to...

  • The developers of Kuromoji, for their great self-contained morphological analyzer
  • Doublevil for the JmdictFurigana project which makes sticking the right furigana to the right characters painless
  • The UniDic Consortium, for the UniDic, the great dictionary Kuromoji uses internally

License

jcore is licensed under the Apache License, Version 2.0. See LICENSE for details.

Contributing

Open up an issue if something isn't working properly or as expected. Likewise, open an issue for any feature requests. Pull requests are also more than welcome.

Something went wrong with that request. Please try again.