Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 856 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 856 Bytes

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