Uses of Interface
opennlp.tools.tokenize.TokenContextGenerator
Packages that use TokenContextGenerator
-
Uses of TokenContextGenerator in opennlp.tools.tokenize
Classes in opennlp.tools.tokenize that implement TokenContextGeneratorModifier and TypeClassDescriptionclassA defaultTokenContextGeneratorwhich produces events for maxent decisions for tokenization.Fields in opennlp.tools.tokenize declared as TokenContextGeneratorModifier and TypeFieldDescriptionprivate final TokenContextGeneratorTokenizerME.cgprivate final TokenContextGeneratorTokSpanEventStream.cgMethods in opennlp.tools.tokenize that return TokenContextGeneratorConstructors in opennlp.tools.tokenize with parameters of type TokenContextGeneratorModifierConstructorDescriptionTokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, Pattern alphaNumeric, TokenContextGenerator cg) Deprecated, for removal: This API element is subject to removal in a future version.(package private)TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, AlphanumericCheck alphanumeric, TokenContextGenerator cg) Initializes a new event stream with the check that decides which candidate tokens count as alphanumeric.TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, TokenContextGenerator cg) Initializes a new event stream based on the data stream using aTokenContextGeneratorandFactory.DEFAULT_CHARACTER_POLICY.TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, TokenizerCharacterPolicy characterPolicy, TokenContextGenerator cg) Initializes a new event stream based on the data stream using aTokenContextGenerator. -
Uses of TokenContextGenerator in opennlp.tools.tokenize.lang
Methods in opennlp.tools.tokenize.lang that return TokenContextGeneratorModifier and TypeMethodDescriptionFactory.createTokenContextGenerator(String languageCode, Set<String> abbreviations) Initializes a customizedTokenContextGeneratorvia a set ofabbreviations.
TokSpanEventStream(ObjectStream, boolean, TokenizerCharacterPolicy, TokenContextGenerator).