/auto-reply-cli

auto-reply using nltk

Primary LanguagePython

Auto-Reply CLI

Demo "auto-reply" app that uses nltk.

App purpose

CLI Text Analyzer that parse given data/text, compute the count of each word, detect keywords with high percentage, search for keyword in database, display answer related to keyword.

Installation

The app requires Python 3.6 or later.

Mac/Unix:

  1. Install virtualenvwrapper.
  2. Install python's packages using the provided requirements.txt file via pip πŸ‘‡
$ pip install -r requirements.txt
  1. Install sqlite3

Directory structure:

β”œβ”€β”€ app.py
β”œβ”€β”€ data
β”‚   └── data.txt
β”œβ”€β”€ db
β”‚   └── demo.db
└── requirements.txt

Run:

python app.py

πŸ˜ƒπŸ˜‰ enjoyπŸ’€πŸ‘Œ