[7fc5df]: / docs / 06_pipeline_verbosity.md

Download this file

16 lines (11 with data), 520 Bytes

Logging and Pipeline Verbosity

The pipeline reports about it's progress during several de-identification stages. We use tqdm and loguru for logging. You can use the verbose parameter of the taggers to enable progress report.

Logging can be configured as follows:

import logging
import sys
from loguru import logger

logger.remove()
logger.add(sys.stderr, level=logging.WARNING)
logging.getLogger('flair').setLevel(logging.WARNING)