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 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.
- 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.
- Clone the repository and install dependencies:
git clone https://github.com/yourusername/wordpredict.git cd wordpredict pip install -r requirements.txt
- Place lstm_next_word_model.h5 and glove.6B.100d.txt in the project directory.