Uses of Interface
opennlp.tools.util.normalizer.OffsetAwareNormalizer
Packages that use OffsetAwareNormalizer
-
Uses of OffsetAwareNormalizer in opennlp.tools.termvector
Fields in opennlp.tools.termvector declared as OffsetAwareNormalizerModifier and TypeFieldDescriptionprivate final OffsetAwareNormalizerTermVectorAnnotator.normalizerConstructors in opennlp.tools.termvector with parameters of type OffsetAwareNormalizerModifierConstructorDescriptionTermVectorAnnotator(OffsetAwareNormalizer normalizer) Initializes afull modeannotator that groups tokens by their normalized form through a whole-document alignment.TermVectorAnnotator(OffsetAwareNormalizer normalizer, TermVectorAnnotator.Mode mode) Initializes an annotator that groups tokens by their normalized form through a whole-document alignment. -
Uses of OffsetAwareNormalizer in opennlp.tools.util.normalizer
Classes in opennlp.tools.util.normalizer that implement OffsetAwareNormalizerModifier and TypeClassDescription(package private) final classAnOffsetAwareNormalizerthat applies a chain of offset-aware normalizers in order and composes their per-stageAlignments withAlignment.andThen(Alignment), so the result maps a span found in the fully normalized text back to the original input through every stage.classACharSequenceNormalizerthat replaces unambiguous list-bullet characters with a space, so a bullet acts as a token separator rather than sticking to the following word.classACharSequenceNormalizerthat maps every Unicode dash to an ASCII hyphen-minus (U+002D), reusing the cursor basedCharClass.dashes()engine.classACharSequenceNormalizerthat maps Unicode decimal digits to their ASCII equivalents, so for example Arabic-Indic, Devanagari, or fullwidth digits all become0-9.classACharSequenceNormalizerthat expands the ellipsis and leader characters to ASCII dots: the horizontal ellipsis (U+2026) to"..."and the two-dot leader (U+2025) to"..".final classACharSequenceNormalizerthat folds emoji to ASCII emoticons, using the bundledemoji-emoticons.txtmapping (for example U+1F642 SLIGHTLY SMILING FACE to:)).final classACharSequenceNormalizerthat folds ASCII emoticons to emoji, using the bundledemoji-emoticons.txtmapping (for example:-)to U+1F642 SLIGHTLY SMILING FACE).final classACharSequenceNormalizerthat applies Unicode full case folding for case-insensitive matching, as defined by the Default Case Algorithms in Section 3.13 of the Unicode Standard, using the bundledCaseFolding.txtdata of the Unicode Character Database.classACharSequenceNormalizerthat transliterates German umlauts and the eszett the way German conventionally expands them (DIN 5007-2): a-umlaut toae, o-umlaut tooe, u-umlaut toue, and eszett toss, with the capital umlauts and the capital eszett (U+1E9E) expanded likewise.classACharSequenceNormalizerthat removes invisible format and bidirectional control characters that add no textual content and are a common source of noise and spoofing (the byte-order mark, zero width space, word joiner, bidi marks/embeddings/overrides/isolates, the invisible math operators, soft hyphen, and the Arabic letter mark).classAnOffsetAwareNormalizerthat collapses runs of Unicode whitespace likeWhitespaceCharSequenceNormalizer, but keeps line and paragraph structure: any whitespace run that contains a line break collapses to a single newline (U+000A) instead of a space, and leading and trailing whitespace is trimmed.classAnOffsetAwareNormalizerthat unwraps hard-wrapped prose while keeping real paragraph breaks.classACharSequenceNormalizerthat folds typographic quotation marks to their ASCII forms: the single quotes and apostrophes to'and the double quotes to".classACharSequenceNormalizerthat collapses each run of Unicode whitespace to a single ASCII space and trims the edges, reusing the cursor basedCharClass.whitespace()engine.Fields in opennlp.tools.util.normalizer declared as OffsetAwareNormalizerModifier and TypeFieldDescriptionprivate final OffsetAwareNormalizer[]AlignedAggregateCharSequenceNormalizer.stepsMethods in opennlp.tools.util.normalizer that return OffsetAwareNormalizerModifier and TypeMethodDescriptionTextNormalizer.Builder.buildAligned()Returns an offset-aware composition of the steps added so far.Constructors in opennlp.tools.util.normalizer with parameters of type OffsetAwareNormalizerModifierConstructorDescription(package private)