Skip to content

Repository files navigation

💳 Next Words Predictors-

A Interactive Web App that predict three possible next words to complete that sentences.

Demo Pictures

Demo for input Demo for output

Yt Video Link

Watch the demo on YouTube

📑 Table of Contents


🔹Project Overview

The goal of this project to create a web app to predict the next three words using LSTM.

🔹Dataset

  • Source of the dataset : 1661-0.txt

  • This is ebook of story of Sherlock Holmes.

🔹Tools & Technologies

  • Python
  • LSTM
  • Numpy
  • Pandas
  • Matplotlib
  • tensorflow
  • keras

🔹Project Structure

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

🔹How to Start

  1. create a virtual environment and activate it .
python -m venv <environment-name>
myenv\Scripts\activate
  1. clone the repository
git clone https://github.com/Sachin2095/NextWordPredictor.git 
  1. Install Dependencies
pip install -r requirements.txt
  1. Run the notebook nextWordPredictionUsingLstm.ipynb

  2. Open the App Using UserInternface.py

  3. Open Browser and go to Local Host

    http://localhost:5000

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages