<commit_before>import warnings
import numpy as np
import scipy.sparse.csgraph as spgr
from openpnm.topotools import is_fully_connected
from openpnm.algorithms import GenericAlgorithm
from openpnm.algorithms import BCsMixin
from openpnm.utils import logging, prettify_logger_message
from openpnm.utils import Docorator, SettingsAttr, getattr
from ._solution import SteadyStateSolution
import openpnm.utils._workspace as ws
import openpnm.solvers as solvers
docstr = Docorator()
logger = logging.getLogger(__name__)

__all__ = ['GenericTransport', 'GenericTransportSettings']


@docstr.get_sections(base='GenericTransportSettings', sections=['Parameters'])
@docstr.dedent
class GenericTransportSettings:
    r"""
    Defines the settings for GenericTransport algorithms

    Parameters<commit_msg>fixed importing<commit_after>import warnings
import numpy as np
import scipy.sparse.csgraph as spgr
from openpnm.topotools import is_fully_connected
from openpnm.algorithms import GenericAlgorithm
from openpnm.algorithms import BCsMixin
from openpnm.utils import logging, prettify_logger_message
from openpnm.utils import Docorator, SettingsAttr, Workspace
from ._solution import SteadyStateSolution
import openpnm.solvers as solvers
docstr = Docorator()
logger = logging.getLogger(__name__)
ws = Workspace()

__all__ = ['GenericTransport', 'GenericTransportSettings']


@docstr.get_sections(base='GenericTransportSettings', sections=['Parameters'])
@docstr.dedent
class GenericTransportSettings:
    r"""
    Defines the settings for GenericTransport algorithms

    Parameters
{'fraction_non_alphanumeric': 0.06547997457088366, 'fraction_numerical': 0.0, 'mean_word_length': 7.155440414507772, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2480180', 'n_tokens_mistral': 444, 'n_tokens_neox': 433, 'n_words': 128}