The Mercer Assistant learns text and attempts to write back text, mostly as poetry, in it's current state.
This program falls under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.
Do this setup first, then any or all of the other setup options to unlock their features.
- Download Git Repo.
- Ensure Python 3 is installed.
- Run 'mainControl.py' to start Mercer.
- Experiment with the features available and teach Mercer words. A larger dictionary will allow for more accurate generation.
Allows Mercer to interact (in a read only capacity) with Reddit for learning purposes.
- Install 'praw' with 'pip install praw'.
- Go to Reddit App registration.
- Create a new app (likely as a script). Keep the page open.
- Fill in the 'client_id' and the 'client_secret' sections, as shown on the Reddit app page, in the 'praw.ini.TEMPLATE' file.
- (Optional) Fill in the 'username' and 'password' sections in the 'praw.ini.TEMPLATE' file. This is not required for read-only operations.
- Rename the 'praw.ini.TEMPLATE' file to 'praw.ini'.
Allows Mercer to request information from the web generally for learning purposes.
- Install 'requests' with 'pip install requests' or 'pipenv install requests'.
- Make Mercer Constants and Settings load from an exterior .ini/.json/.txt/etc file and update them through set functions.
- Allow Mercer to learn through PDFs.
- Allow Mercer to establish the types of words (Noun/Verb/Adj/etc) during its own learning process.
- Utilize word type over commonality to create simple Adjective-Noun-Verb sentences, while using commonality as a backup.