Uses of Record Class
opennlp.tools.termvector.TermVector
Packages that use TermVector
-
Uses of TermVector in opennlp.tools.termvector
Fields in opennlp.tools.termvector with type parameters of type TermVectorModifier and TypeFieldDescriptionstatic final LayerKey<TermVector> TermVectorAnnotator.TERM_VECTORSThe key of the term vector layer this annotator provides: a document-scoped layer ofTermVectorvalues, one per distinct term.Methods in opennlp.tools.termvector that return TermVectorModifier and TypeMethodDescriptionstatic TermVectorCreates a scoring-onlyTermVectorthat carries the occurrence count without any offsets.static TermVectorCreates a fullTermVectorwhose frequency is derived from the occurrence spans.Methods in opennlp.tools.termvector that return types with arguments of type TermVectorModifier 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.