<commit_before>WikiDefenseSuite
================

A group of tools designed to protect and monitor the wiki.

Wiki Crawler
------------

The script `wiki_crawler.py` is intended for crawling wikis in search of various trigger words.

**Configuration:**

`domain`: The domain of the wiki that you are going to crawl

`entry`: The entry page of the wiki.  Set this to only the page title, properly URL encoded.

`search_terms`: A list of case insensitive words that that the crawler will look for in page text

`require`: Text that must be present in URLs in order for them to be Q'd by the crawler

`exclude`: Text in URLs that will disqualify them from crawling


<commit_msg>Adding information to the readme<commit_after>WikiDefenseSuite
================

A group of tools designed to protect and monitor the wiki.

Wiki Crawler
------------

The script `wiki_crawler.py` is intended for crawling wikis in search of various trigger words.

**Configuration:**

`domain`: The domain of the wiki that you are going to crawl

`entry`: The entry page of the wiki.  Set this to only the page title, properly URL encoded.

`search_terms`: A list of case insensitive words that that the crawler will look for in page text

`require`: Text that must be present in URLs in order for them to be Q'd by the crawler

`exclude`: Text in URLs that will disqualify them from crawling.  If this is empty, set it to a space or sth that will not come up because an empty string will match all URLs.



{'fraction_non_alphanumeric': 0.08293998651382332, 'fraction_numerical': 0.0, 'mean_word_length': 3.9466666666666668, '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': '3120633', 'n_tokens_mistral': 425, 'n_tokens_neox': 383, 'n_words': 234}