How to Preprocess Character Level Text with Keras

Xu LIANG
Towards Data Science
4 min readJul 6, 2018

--

You can find the notebook here

The goal of this introduction is to let you know how to use Keras to preprocess text in character level. The rest of the article is organized as follows.

  • Load data
  • Tokenizer
  • Change vocabulary
  • Character to index

--

--

I’m an engineer focusing on NLP and Data Science. I write stuff to repay the engineer community. You can find me on linkedin.com/in/xu-liang-99356891/