- Keeps a check on incoming messages through basic web-scraping and automation using selenium.
- Filters out received messages according to pre-entered list of critical words/phrases.
- Ease of getting useful information from piles of messages, rather than mining out important piece of texts from piles of conversations.
- Translate the received messages in your desired language.
- Aims to have a auto-correct algorithm implemented to have better accuracy while filtering/translating messages.
- Python version >= 3.6
- selenium with chromedriver for chrome browser compatible with each other
pip install selenium
pip install webdriver_manager
- get chromedriver from https://chromedriver.chromium.org/downloads
- move Chromedriver to Binary location
sudo mv chromedriver /usr/local/bin/
(On Windows, just add the location of chromedriver to PATH env-var) - change cd to Binary
cd /usr/local/bin/
- make executable permission to chromedriver
sudo chmod +x chromedriver
- move Chromedriver to Binary location
- Fork this repository (Click the Fork button in the top right of this page, click your Profile Image)
- Clone your fork down to your local machine
git clone https://github.com/your-username/CogniWapp.git
- Create a branch
git checkout -b branch-name
- Make your changes
- Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
- Create a new pull request from your forked repository (Click the
New Pull Request
button located at the top of your repo) - Wait for your PR review and merge approval!
- Star this repository if you had fun!
- Translate texts
- For desired range of messages, fetch the text and request
Google Translator Ajax API
to translate the given text to English or any other desired language - Install
googletrans
python package to call the APIpip install googletrans
- Visit https://pypi.org/project/googletrans/ for further details on usage and GitHub repository for
googletrans
- For desired range of messages, fetch the text and request
- Auto-Correct Typos
- Refer to https://norvig.com/spell-correct.html for implementation details for autocorrect algorithm