package Ġnet . d ank ito . text . extraction . model Ċ Ċ import Ġnet . d ank ito . text . extraction . image . model . O cr Language Ċ import Ġnet . d ank ito . text . extraction . image . model . O cr OutputType Ċ import Ġnet . d ank ito . text . extraction . image . model . Page Seg Mode Ċ import Ġnet . d ank ito . text . extraction . image . model . Tess er act Config Ċ import Ġjava . io . File ĊĊ Ċ open Ġclass ĠT ika Settings Ġ@ Jvm Over loads Ġconstructor ( Ċ ĉ val Ġenable O cr For Images : ĠBoolean Ġ= Ġtrue , Ċ ĉ val Ġpdf Content Extractor Strategy : ĠPdf Content Extractor Strategy Ġ= ĠPdf Content Extractor Strategy . O cr And Text , Ċ ĉ ocr Languages : ĠList < O cr Language > Ġ= ĠlistOf ( O cr Language . English ), Ċ ĉ ocr OutputType : ĠO cr OutputType Ġ= ĠO cr OutputType . Text , Ċ ĉ t esseract Path : ĠFile ? Ġ= Ġnull , Ċ ĉ t ess data Directory : ĠFile ? Ġ= Ġnull , Ċ ĉ page Seg Mode : ĠPage Seg Mode ? Ġ= Ġnull Ċ ) Ġ: ĠT esseract Config ( ocr Languages , Ġocr OutputType , Ġt esseract Path , Ġt ess data Directory , Ġpage Seg Mode ) Ġ{ ĊĊ ĉ constructor ( enable O cr For Images : ĠBoolean , Ġpdf Content Extractor Strategy : ĠPdf Content Extractor Strategy , Ġt esseract Config : ĠT esseract Config ) Ċĉ ĉ : Ġthis ( enable O cr For Images , Ġpdf Content Extractor Strategy , Ġt esseract Config . ocr Languages , Ġt esseract Config . ocr OutputType , Ċĉĉ ĉ t esseract Config . t esseract Path , Ġt esseract Config . t ess data Directory , Ġt esseract Config . page Seg Mode ) ĊĊĊ ĉ override Ġfun ĠtoString (): ĠString Ġ{ Ċĉ ĉ return Ġ" pdf Content Extractor Strategy =$ pdf Content Extractor Strategy , Ġ${ super . toString () }" Ċ ĉ } Ċ Ċ }