Toolkit for analyzing text, especially Japanese and Chinese