Steps to Parse Message Intents with NLP in iOS

  1. Tokenize text corpus
  2. Export tokenize words-to-index mapping
  3. Create/gather training data
  4. Create model (ex. Embedding, bidirectional LSTM, flatten, dense)
  5. Train
  6. Convert to CoreML
  7. Import to iOS app project
  8. Write swift tokenize and zero padding utils
  9. Predict in iOS!