You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With xpresso you can tokenize any English text in Java with a simplicity of NLTK.
Tokenization:
import com.wantedtech.common.xpresso.token.Token;
String text = "English is hard. It can be understood through tough thorough thought, though.";
for (Sentence s : x.String.EN.tokenize(text)) {
for (Token t : s) {
x.print(t);
}
}
Console: English
is
hard
.
It
can
...