kuromoji Home Page kuromoji GitHub
dependencies {
compile group: 'com.atilika.kuromoji', name: 'kuromoji-ipadic', version: '0.9.0'
}
"-Ipadic" is a dictionary.
String text = "I am a cat.";
Tokenizer tokenizer = new Tokenizer();
List<Token> tokenList = tokenizer.tokenize(text);
Recommended Posts