Class TextRecognizerSelection

java.lang.Object
org.apache.tika.parser.enricher.TextRecognizerSelection
All Implemented Interfaces:
Serializable

public class TextRecognizerSelection extends Object implements Serializable
The per-request switch for the "text-recognizers" list: {"parse-context": {"text-recognizers": {"enabled": false}}} runs no recognizer or annotator from the list for this parse, in every container. Wire-safe: it names nothing.
Since:
Apache Tika 4.1
See Also:
  • Constructor Details

    • TextRecognizerSelection

      public TextRecognizerSelection()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)