Uses of Record Class
opennlp.tools.util.normalizer.AlignedText
Packages that use AlignedText
-
Uses of AlignedText in opennlp.tools.termvector
Methods in opennlp.tools.termvector with parameters of type AlignedTextModifier and TypeMethodDescriptionprivate List<Annotation<TermVector>> TermVectorAnnotator.countVectors(List<Annotation<String>> tokens, AlignedText aligned, String normalized) Aggregates the tokens into scoring-only term vectors, so no offset storage is ever allocated.private List<Annotation<TermVector>> TermVectorAnnotator.fullVectors(List<Annotation<String>> tokens, AlignedText aligned, String normalized) Aggregates the tokens into full term vectors, keeping every occurrence span.private StringTermVectorAnnotator.termOf(Annotation<String> token, AlignedText aligned, String normalized) Determines the term one token groups under: its covered text as-is, its covered text normalized on its own when a plain per-token normalizer is present, or the covered text of its span mapped into the normalized form when an offset-aware normalizer is present. -
Uses of AlignedText in opennlp.tools.util.normalizer
Methods in opennlp.tools.util.normalizer that return AlignedTextModifier and TypeMethodDescriptionAlignedText.andThen(AlignedText next) Composes this result with a stage that further normalizes this result's normalized text.CharClass.collapseAligned(CharSequence text) LikeCharClass.collapse(CharSequence)but also produces theAlignmentback to the original text.CharClass.collapseParagraphPreservingAligned(CharSequence text, CodePointSet lineBreaks, int paragraphReplacement) LikeCharClass.collapseParagraphPreserving(CharSequence, CodePointSet, int)but also produces theAlignmentback to the original text.CharClass.collapsePreservingAligned(CharSequence text, CodePointSet keep, int keepReplacement) LikeCharClass.collapsePreserving(CharSequence, CodePointSet, int)but also produces theAlignmentback to the original text.private AlignedTextCharClass.collapseRunsAligned(CharSequence text, CharClass.RunReplacement runReplacement) Collapses runs likeCharClass.collapseRuns(CharSequence, RunReplacement, Alignment.Builder)and pairs the result with itsAlignmentback totext.(package private) AlignedTextEmojiEmoticons.emojiToEmoticonAligned(CharSequence text) Folds mapped pictographs intextto their ASCII emoticons, producing theAlignmentback to the original text.(package private) AlignedTextEmojiEmoticons.emoticonToEmojiAligned(CharSequence text) Folds whitespace-delimited ASCII emoticons intextto their pictographs, producing theAlignmentback to the original text.AlignedAggregateCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.BulletCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.CharClass.normalizeAligned(CharSequence text) LikeCharClass.normalize(CharSequence)but also produces theAlignmentback to the original text.DashCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.DigitCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.EllipsisCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.EmojiToEmoticonCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.EmoticonToEmojiCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.FullCaseFoldCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.GermanUmlautCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.InvisibleCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.LineBreakPreservingWhitespaceCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.OffsetAwareNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.ParagraphPreservingWhitespaceCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.QuoteCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.WhitespaceCharSequenceNormalizer.normalizeAligned(CharSequence text) Normalizestextand returns the result together with theAlignmentback to the input.CharClass.removeAllAligned(CharSequence text) LikeCharClass.removeAll(CharSequence)but also produces theAlignmentback to the original text.static AlignedTextCharClass.substituteAligned(CharSequence text, IntFunction<String> substitution) LikeCharClass.substitute(CharSequence, IntFunction)but also produces theAlignmentback to the original text.private static AlignedTextEmojiEmoticons.substituteAligned(CharSequence text, EmojiEmoticons.Direction direction, boolean delimited) LikeEmojiEmoticons.substitute(CharSequence, Direction, boolean)but also produces theAlignmentback to the original text.CharClass.trimAligned(CharSequence text) LikeCharClass.trim(CharSequence)but also produces theAlignmentback to the original text.Methods in opennlp.tools.util.normalizer with parameters of type AlignedTextModifier and TypeMethodDescriptionAlignedText.andThen(AlignedText next) Composes this result with a stage that further normalizes this result's normalized text.