This project is a Swift Playground that explains core machine learning and Natural Language Processing (NLP) concepts and showcases Apple's new Natural Language framework through a visually appealing experience. Some of the technologies used were CoreML, UIKit, PlaygroundBook, CreateML and the framework itself, along with three different publicly available datasets.
A demo of the project running on iPad is available here on Youtube.
I used this project as a submission to the WWDC19 Scholarships program and it was accepted. As a reward, I got to attend WWDC 2019 with my travel expenses covered by Apple and meet the engineers who built the frameworks we use daily.
- Download the
Exploring Natural Language.playgroundbook
file; - AirDrop the file to your iPad;
- Open with Swift Playgrounds and have fun!
- Open the project using Xcode;
- Select the PlaygroundBook target and build it;
- At the very last folder, named Products, you should see a new
.playgroundbook
file; - Right-click it, and click on Show on Finder;
- AirDrop the file to your iPad;
- Open with Swift Playgrounds and have fun!
- Important Machine Learning & NLP concepts
- How to use Natural Language framework
- How to use CreateML to train text recognition models
- How to create engaging learning experiences using Swift Playgrounds
- Xcode 10 for compiling (use Swift 4.2 toolchain if needed)
- iPad running iOS 12+
- Swift Playgrounds 2.0+
- Created: 04/2019
- Updated: 06/2019