Package org.apache.tika.parser.pages
Class PagesConfig.Auto
java.lang.Object
org.apache.tika.parser.pages.PagesConfig.Auto
- All Implemented Interfaces:
Serializable
- Enclosing class:
PagesConfig
When
TextPolicy.AUTO sends a page to OCR: too few characters, or too many glyphs
without a Unicode mapping. The unmapped count is a PDF font fact; a format without the
signal never trips it.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()static PagesConfig.Autodefaults()over(PagesConfig.Auto overlay) voidsetTotalCharsPerPage(Integer totalCharsPerPage) A page with fewer characters than this is sent to OCR.voidsetUnmappedUnicodeCharsPerPage(Float unmappedUnicodeCharsPerPage) A count when 1 or more, a fraction of the page's characters when below 1.
-
Constructor Details
-
Auto
public Auto()
-
-
Method Details
-
defaults
-
over
-
copy
-
getUnmappedUnicodeCharsPerPage
-
setUnmappedUnicodeCharsPerPage
A count when 1 or more, a fraction of the page's characters when below 1. -
getTotalCharsPerPage
-
setTotalCharsPerPage
A page with fewer characters than this is sent to OCR.
-