Interface ContentEnricher

All Superinterfaces:
AutoCloseable, Closeable, Engine
All Known Subinterfaces:
TextRecognizer
All Known Implementing Classes:
AbstractVLMParser, ClaudeVLMParser, EncodeOCRParser, GeminiVLMParser, OpenAIImageEmbeddingParser, OpenAIVLMParser, Tess4JParser, TesseractOCRParser

public interface ContentEnricher extends Engine
A Parser a container parser invokes on bytes it has already parsed (OCR on an image, an embedding of a rendered page) rather than one the composite dispatches to; its supported types are the types it can enrich. An enricher the classpath supplied is never dispatched to; named under "parsers" it also parses the types no other parser there claims. See ContentEnrichers.get(org.apache.tika.parser.enricher.CompositeContentEnricher, org.apache.tika.mime.MediaType, org.apache.tika.metadata.Metadata, org.apache.tika.parser.ParseContext).

An enricher is an Engine: configured once under "engines", a "text-recognizers" entry names it.

Since:
Apache Tika 4.1
  • Method Summary

    Methods inherited from interface org.apache.tika.parser.inference.Engine

    close