Skip to content

jonghyuk0605/autocomplete-lstm-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Autocompletion Algorithm based on character-based LSTM

Character-based LSTM

Demo for autocompletion

  • prerequisites
# install requirements (python, numpy, tensorflow, java, hangul-utils etc ...)
cd data
./download.sh # downloading dataset
  • Train text generative model
python train.py
  • Test sentence, word sampling
# Currently using pretrained models, changed hard-coded directories to use other model
python sample.py
  • Run test web server
# install requirements (flask)
python main.py
open localhost:5000

About

Word Autocompletion Algorithm based on character-based LSTM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published