def wsi_logging_info(_logger):
    """
    Decorates read_dataset methods for WSI readers.
    Adds logging information about the read dataset
    Args:
        _logger: an object that allows to call .info method

    Returns: decorator for read_dataset method
    """
    def decorator(wsi_reader_method):
        def wrapper(self, *args, **kwargs):
            _logger.info(f"Reading {self.dataset_name} dataset")
            df, gold_labels, gold_labels_path = wsi_reader_method(self, *args, **kwargs)
            _logger.info(f"Reading done. {self.dataset_name} dataset "
                        f"contains {len(df)} lines, "
                        f"{len(df.group_by.unique())} ambigious words "
                        f"and following {df.pos_tag.unique()} POS tags")
            return df, gold_labels, gold_labels_path
        return wrapper
    return decorator