kuromoji Home Page kuromoji GitHub
dependencies {
compile group: 'com.atilika.kuromoji', name: 'kuromoji-ipadic', version: '0.9.0'
}
"-Ipadic" est un dictionnaire.
String text = "Je suis un chat.";
Tokenizer tokenizer = new Tokenizer();
List<Token> tokenList = tokenizer.tokenize(text);
Recommended Posts