A Interactive Web App that predict three possible next words to complete that sentences.
-
Source of the dataset :
1661-0.txt -
This is ebook of story of Sherlock Holmes.
- Python
- LSTM
- Numpy
- Pandas
- Matplotlib
- tensorflow
- keras
NextWordPredictor/
├── UserInternface.py # Main Streamlit application
├── 1660-0.txt # raw text data
├── nextWordPredictionUsingLstm.ipynb # LSTM Model Training
├── requirements.txt # Install Dependencies
├── test/ # to test it
├── README.md # This file for overview
├── tokenizer.pkl # this is tokenizer to convert into text - embedding
│
└── .gitignore # do not consider the virtual environments
- create a virtual environment and activate it .
python -m venv <environment-name>
myenv\Scripts\activate- clone the repository
git clone https://github.com/Sachin2095/NextWordPredictor.git - Install Dependencies
pip install -r requirements.txt-
Run the notebook
nextWordPredictionUsingLstm.ipynb -
Open the App Using
UserInternface.py -
Open Browser and go to Local Host
http://localhost:5000

