Package opennlp.tools.tokenize
package opennlp.tools.tokenize
-
ClassDescriptionA
Detokenizermerges tokens back to their detokenized representation.This enum contains an operation for every token to merge the tokens together to their detokenized form.One subword unit produced by aSubwordTokenizer, including the model representation and source range.Splits text into subword units from a fixed model vocabulary, reporting the model id and original-text span for each unit.Interface for context generators required fortokenizer implementations.The interface for tokenizers, which segment a string into its tokens.A marker interface for evaluatingtokenizers.ATokenSampleis text with token spans.A basicTokenizerimplementation which performs tokenization using white spaces.ASubwordTokenizerimplementing the BERT tokenization stages: basic tokenization (control removal, whitespace normalization, CJK isolation, optional lower casing with accent stripping, punctuation isolation) followed by greedy longest-match wordpiece segmentation.ATokenizerimplementation which performs tokenization using word pieces.