veil.config.datahandler¶
Classes
|
Configuration for input/output data handling. |
- class veil.config.datahandler.DataHandlerConfig(input_path=None, output_path=None, text_field='text', ground_truth_field=None, doc_id_field=None, text_encoding='utf-8')[source]¶
Bases:
objectConfiguration for input/output data handling.
- Parameters:
input_path (str)
output_path (str)
text_field (str)
ground_truth_field (str | None)
doc_id_field (str | None)
text_encoding (str)
- doc_id_field: str | None = None¶
- ground_truth_field: str | None = None¶
- input_path: str = None¶
- output_path: str = None¶
- text_encoding: str = 'utf-8'¶
- text_field: str = 'text'¶