Natural Language Processing with Java Cookbook
上QQ阅读APP看书,第一时间看更新

Tokenization using OpenNLP

In this recipe, we will create an instance of the OpenNLP SimpleTokenizer class to illustrate tokenization. We will use its tokenize method against a sample text.