‘Journal’ app will use Apple’s on-device machine learning