A LSTM based method to complete the code by given chars/tokens.
install the requirement (python 3.5)
$ pip install -r requirements.txtbackend
$ cd ./lstm4backendtrain token model
$ python train.py <model_name> tokentrain char model
$ python train.py <model_name> charNote: dataset should be set inside the train.py.
backend
$ cd ./lstm4backendstart serving
$ python serve.py$ cd ./uiusing npm or yarn to start the application
$ yarn or
$ npm install | npm start