Skip to content

soheilabadifard/Predicting-the-next-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Predicting the next word

  1. train a model using a corpus of Shakespeare's sonnets
  2. predict the next word in a text sequence
  3. creating some helper functions to pre-process the data

Used Packages:

  • TensorFlow
  • Keras
  • Tokenizer
  • Pad_sequences
  • Embedding
  • LSTM