KyTea is a general text analysis toolkit, with a focus on Japanese and other languages requiring word or morpheme segmentation.
Detailed usage information can be found at http://www.phontron.com/kytea
To build KyTea, run
$ ./configure
$ make
If there is no configure file in the directory (for example, if you checked the source out from GitHub), you must rebuild the configure file using the following command:
$ autoreconf -i