in src/chug/doc/doc_read_processor.py [0:0]
def __init__(
self,
image_process_fn: Optional[Callable] = None,
text_process_fn: Optional[Callable] = None,
image_input_feat: ImageFeatureInfo = DEFAULT_DOC_FEAT,
text_input_feat: FeatureInfo = FeatureInfo('text_input', input_key='pages'),
text_target_feat: FeatureInfo = FeatureInfo('text_target', input_key=None),
line_break: str = '\n',
page_sampling: str = 'random',
render_dpi: int = 150,
squeeze_pages: bool = True,
expand_pages: bool = False,
flatten_json: bool = True,
seed: int = 0,