<commit_before><p align="center">
  <img src="images/text_logo_400.png">
</p>
mAIcroft
========

Extract interesting information about redditors from their submissions, comments, and subs. Outputs data in JSON format. Brother project to [Orionmelt's Sherlock](https://github.com/orionmelt/sherlock), adapting and expanding its functionality and generality.

Dependencies
------------
* [requests](http://docs.python-requests.org/en/master/)
* [pytz](https://pypi.python.org/pypi/pytz/)
* [TextBlob 0.9.0](http://textblob.readthedocs.org/en/dev/)

Setup
-----
* Run `pip install -r requirements.txt` to install dependencies.
* Run `python -m textblob.download_corpora` to download TextBlob corpora.

Usage
-----
    python maicroft.py <reddit-username>

Example
-------
Command:

    python maicroft.py thundergolfer

Output:<commit_msg>Adding Documetation link to README<commit_after><p align="center">
  <img src="images/text_logo_400.png">
</p>
mAIcroft
========

Extract interesting information about redditors from their submissions, comments, and subs. Outputs data in JSON format. Brother project to [Orionmelt's Sherlock](https://github.com/orionmelt/sherlock), adapting and expanding its functionality and generality.

[Documentation - Read The Docs](http://maicroft.readthedocs.io/en/latest/)
-------------------

Dependencies
------------
* [requests](http://docs.python-requests.org/en/master/)
* [pytz](https://pypi.python.org/pypi/pytz/)
* [TextBlob 0.9.0](http://textblob.readthedocs.org/en/dev/)

Setup
-----
* Run `pip install -r requirements.txt` to install dependencies.
* Run `python -m textblob.download_corpora` to download TextBlob corpora.

Usage
-----
    python maicroft.py <reddit-username>

Example
-------
Command:

    python maicroft.py thundergolfer

Output:
{'fraction_non_alphanumeric': 0.16657350475125768, 'fraction_numerical': 0.006707657909446618, 'mean_word_length': 3.850948509485095, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '157434', 'n_tokens_mistral': 583, 'n_tokens_neox': 554, 'n_words': 139}