<commit_before>===============
Utility Methods
===============

ChatterBot has a utility module that contains
a collection of miscellaneous but useful functions.


Module imports
--------------

.. autofunction:: chatterbot.utils.import_module


Class initialization
--------------------

.. autofunction:: chatterbot.utils.initialize_class


Adapter validation
------------------

.. autofunction:: chatterbot.utils.validate_adapter_class


Terminal input
--------------

.. autofunction:: chatterbot.utils.input_function


NLTK corpus downloader

.. autofunction:: chatterbot.utils.nltk_download_corpus


Stopword removal
----------------

.. autofunction:: chatterbot.utils.remove_stopwords

<commit_msg>Undocument method<commit_after>===============
Utility Methods
===============

ChatterBot has a utility module that contains
a collection of miscellaneous but useful functions.


Module imports
--------------

.. autofunction:: chatterbot.utils.import_module


Class initialization
--------------------

.. autofunction:: chatterbot.utils.initialize_class


Terminal input
--------------

.. autofunction:: chatterbot.utils.input_function


NLTK corpus downloader

.. autofunction:: chatterbot.utils.nltk_download_corpus


Stopword removal
----------------

.. autofunction:: chatterbot.utils.remove_stopwords


{'fraction_non_alphanumeric': 0.21228203184230476, 'fraction_numerical': 0.0, 'mean_word_length': 2.963963963963964, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6836022', 'n_tokens_mistral': 362, 'n_tokens_neox': 328, 'n_words': 81}