Skip to content

WordPredict is a web-based next-word prediction tool built with an LSTM model and powered by Streamlit. Enter a sequence of words, and the model will suggest the next word in real-time based on dataset from all plays of William Shakespeare.

Notifications You must be signed in to change notification settings

moonishaider/WordPredict

Repository files navigation

WordPredict

WordPredict is a web-based next-word prediction tool built with an LSTM model and powered by Streamlit. Enter a sequence of words, and the model will suggest the next word in real-time based on dataset from all plays of William Shakespeare.

WordPredict

WordPredict is a next-word prediction tool powered by an LSTM neural network and Streamlit. The model is trained on William Shakespeare's complete works, offering predictive text suggestions based on classical literature.

Features

  • Next-Word Prediction: Provides word suggestions based on input phrases.
  • Trained on Shakespeare: Built using a dataset containing all of William Shakespeare’s plays.
  • User-Friendly Interface: Streamlit-based web interface for easy access.

Getting Started

Installation

  1. Clone the repository and install dependencies:
    git clone https://github.com/yourusername/wordpredict.git
    cd wordpredict
    pip install -r requirements.txt
    
    
  2. Place lstm_next_word_model.h5 and glove.6B.100d.txt in the project directory.

About

WordPredict is a web-based next-word prediction tool built with an LSTM model and powered by Streamlit. Enter a sequence of words, and the model will suggest the next word in real-time based on dataset from all plays of William Shakespeare.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published