title: Keras Text Preprocessing - Saving Tokenizer object to file for scoring
body: <p>I've trained a sentiment classifier model using Keras library by following the below steps(broadly).</p>
  
  <ol>
  <li>Convert Text corpus into sequences using Tokenizer object/class</li>
  <li>Build a model using the model.fit() method </li>
  <li>Evaluate this model</li>
  </ol>
  
  <p>Now for scoring using this model, I was able to save the model to a file and load from a file. However I've not found a way to save the Tokenizer object to file. Without this I'll have to process the corpus every time I need to score even a single sentence. Is there a way around this?</p>