PolyBot
A tool to help the Poly copy-reading process! :D
Let's face it-computers are better are repeatitive tasks. And, in spite of what one may want to believe, fact checking is, as a process, very repeatitive. Luckily, this leaves room for automation. This is the vision behind PolyBot. Although the idea sounds great in theory, I warn that one should view PolyBot as a mere tool for the Copy Reader.
PolyBot has the following dependencies:
- OS and Time [OS interactions]
- IMAPLIB [Fetching and Deleting E-Mails]
- Autocorrect [Autocorrection]
- Language Tool Python [Grammar checking]
- Spacy (and en_core_web_trf machine learning model) [Name Detection]
- Chrome Driver (developemental version of chrome which allows programmatic control) [LinkedIn Scraping]
- Google Search [LinkedIn Scraping]
- LinkedIn Scrapper [LinkedInScraping]
- Selenium [LinkedInScraping]
- Yagmail [Sending E-Mails]
To install these dependencies, preform "pip install" followed by the packages name. Note, chrome driver requires an additional install which can be found when googling the applications name and Spacy requires an additional command to download the appropriate machine learning model.
After installation, run "polyBotServerDriver.py" and modify the credentials in all source files to your respective Bot's associated credentials. This script will look for new emails every 10 seconds. Note, after an email is processed, it is deleted from the inbox of the account and a folder corresponding to the email with an HTML file is created.
From the end-user perspective, one simply emails the PolyBot and recieves within 5-10 minutes a email of its analysis.
Current Features:
- Basic Spelling Check
- Poly-Specific Spelling Check
- Grammar Checking
- Name and Context Parsing
- LinkedIn Scraping and Credential Verification
- E-Mailing Interface
Upcoming Features:
- Sentement Analysis
- RPI Directory Scraping
- Reference Counting
- Modifiable Style Guide File
To try it out, send an email WITH A SUBJECT to [email protected]